mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Merge /u/l-chang/cdesktopenv1/ branch master into master
https://sourceforge.net/p/cdesktopenv/code/merge-requests/27/
This commit is contained in:
commit
f294ef4a5c
1 changed files with 6 additions and 2 deletions
|
@ -46,8 +46,8 @@
|
|||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
|
||||
#define LOG_HOST "hpcvusj.cv.hp.com"
|
||||
#define LOG_ADDR "15.0.209.35"
|
||||
#define LOG_HOST "localhost"
|
||||
#define LOG_ADDR "127.0.0.1"
|
||||
#define LOG_PORT "4444"
|
||||
#define WAIT_INTERVAL 5
|
||||
#define RETRIES 5
|
||||
|
@ -301,7 +301,11 @@ doLog(int noFork, char *msg)
|
|||
}
|
||||
|
||||
if (!noFork) {
|
||||
#ifdef _NFILE
|
||||
for (i1 = 0; i1 < _NFILE; i1++) {
|
||||
#else
|
||||
for (i1 = 0; i1 < sysconf(_SC_OPEN_MAX); i1++) {
|
||||
#endif
|
||||
if (i1 != s) {
|
||||
(void) close(i1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue