mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
13f48a05f7
commit
dae06c267c
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
|
* Ensure we don't have any open file descriptors which may refer
|
||||||
* to sockets bound to ports we may try to use.
|
* to sockets bound to ports we may try to use.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue