Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc/gen



Module Name:    src
Committed By:   matt
Date:           Mon Aug 25 23:09:37 UTC 2003

Modified Files:
        src/lib/libc/gen: utmpx.c

Log Message:
When updating wtmpx, if the write fails make sure to close the file (to
release the lock held on it).  Use O_SHLOCK when adding just one record
since O_APPEND will enforce the atomicity that is required.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/lib/libc/gen/utmpx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index