git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c4877
)
Added comment about running lp_load() before calling pidfile_create().
author
Tim Potter
<tpot@samba.org>
Tue, 22 Jan 2002 00:35:51 +0000
(
00:35
+0000)
committer
Tim Potter
<tpot@samba.org>
Tue, 22 Jan 2002 00:35:51 +0000
(
00:35
+0000)
(This used to be commit
e05c9b34f084874fef3d9e6f39484242ed541940
)
source3/lib/pidfile.c
patch
|
blob
|
history
diff --git
a/source3/lib/pidfile.c
b/source3/lib/pidfile.c
index a9b2da0d7fde6554e841e46a191e34be658bf9f9..fad5691e0aeea7fdfe609597286eb6a2cca036db 100644
(file)
--- a/
source3/lib/pidfile.c
+++ b/
source3/lib/pidfile.c
@@
-69,7
+69,10
@@
pid_t pidfile_pid(char *name)
return 0;
}
-/* create a pid file in the lock directory. open it and leave it locked */
+/* Create a pid file in the lock directory. open it and leave it locked.
+ This must be done after a call to lp_load() as it uses the lp_lockdir()
+ function to generate the path to the pidfile. */
+
void pidfile_create(char *name)
{
int fd;