diff -Nrc torque_gss-2.4.3/src/server/pbsd_main.c torque_gss-2.4.3_ab/src/server/pbsd_main.c *** torque_gss-2.4.3/src/server/pbsd_main.c 2009-12-14 10:51:59.000000000 -0600 --- torque_gss-2.4.3_ab/src/server/pbsd_main.c 2009-12-15 11:31:14.000000000 -0600 *************** *** 129,135 **** #include #endif /* USE_HA_THREADS */ ! #define TSERVER_HA_CHECK_TIME 1 /* 1 second sleep time between checks on the lock file for high availability */ /* external functions called */ --- 129,135 ---- #include #endif /* USE_HA_THREADS */ ! #include #define TSERVER_HA_CHECK_TIME 1 /* 1 second sleep time between checks on the lock file for high availability */ /* external functions called */ *************** *** 2010,2020 **** char tmpLine[MAX_LINE]; /* stat failed */ ! strerror_r(errno,ErrorString,sizeof(ErrorString)); ! snprintf(tmpLine,sizeof(tmpLine),"could not stat the lockfile dir '%s': %s", LockDir, ! ErrorString); log_err(errno,id,tmpLine); --- 2010,2020 ---- char tmpLine[MAX_LINE]; /* stat failed */ ! /* strerror_r(errno,ErrorString,sizeof(ErrorString)); ! */ snprintf(tmpLine,sizeof(tmpLine),"could not stat the lockfile dir '%s': %s", LockDir, ! strerror(errno)); log_err(errno,id,tmpLine); *************** *** 2285,2297 **** if (LocalErrno != 0) { ! strerror_r(LocalErrno,ErrorString,sizeof(ErrorString)); sprintf(log_buffer,"could not update HA lock file '%s' in heartbeat thread (%s - errno %d:%s)", HALockFile, EMsg, LocalErrno, ! ErrorString); log_err(LocalErrno,id,log_buffer); } --- 2285,2298 ---- if (LocalErrno != 0) { ! /*strerror_r(LocalErrno,ErrorString,sizeof(ErrorString)); ! */ sprintf(log_buffer,"could not update HA lock file '%s' in heartbeat thread (%s - errno %d:%s)", HALockFile, EMsg, LocalErrno, ! strerror(LocalErrno)); log_err(LocalErrno,id,log_buffer); } diff -Nrc torque_gss-2.4.3/src/lib/Libnet/get_hostaddr.c torque_gss-2.4.3_ab/src/lib/Libnet/get_hostaddr.c *** torque_gss-2.4.3/src/lib/Libnet/get_hostaddr.c 2009-11-11 09:39:19.000000000 -0600 --- torque_gss-2.4.3_ab/src/lib/Libnet/get_hostaddr.c 2009-12-15 11:42:51.000000000 -0600 *************** *** 146,152 **** sprintf(log_buffer,"cannot resolve IP address for host '%s' herror=%d: %s", hostname, h_errno, ! hstrerror(h_errno)); log_event( PBSEVENT_SYSTEM, --- 146,152 ---- sprintf(log_buffer,"cannot resolve IP address for host '%s' herror=%d: %s", hostname, h_errno, ! strerror(h_errno)); log_event( PBSEVENT_SYSTEM,