commit | e5879ca1d8ea26870dbf74f330f5e6f5a9c93bfa | [log] [tgz] |
---|---|---|
author | ajs <ajs> | Thu Nov 25 16:07:53 2004 +0000 |
committer | ajs <ajs> | Thu Nov 25 16:07:53 2004 +0000 |
tree | 890045008a54c7b046395417f7ece40c9426ef3f | |
parent | ad4d974d06ba3344e2e0df3277f7e0c42f018a4e [diff] |
2004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * pid_output.c: (pid_output_lock) Fix 2 bugs: when locking, should set l_whence to SEEK_SET, not SEEK_END. And after writing new pid to file, must ftruncate to eliminate any extraneous bytes left over from the last time a pid was written.