mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14005 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
20d4059a05
commit
70c11f66f6
1 changed files with 0 additions and 14 deletions
|
@ -4466,20 +4466,6 @@ printf(
|
|||
}
|
||||
}
|
||||
|
||||
if (pidfile)
|
||||
{
|
||||
FILE *fptr = fopen(pidfile, "at");
|
||||
|
||||
if (fptr == 0)
|
||||
{
|
||||
sprintf(ebuf, "Unable to open pid file - '%s'", pidfile);
|
||||
gdomap_log(LOG_CRIT);
|
||||
exit(1);
|
||||
}
|
||||
fprintf(fptr, "%d\n", (int) getpid());
|
||||
fclose(fptr);
|
||||
}
|
||||
|
||||
/*
|
||||
* Ensure we don't have any open file descriptors which may refer
|
||||
* to sockets bound to ports we may try to use.
|
||||
|
|
Loading…
Reference in a new issue