Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [christos-time_t] src/lib/libc
Module Name: src
Committed By: christos
Date: Sun Nov 23 21:46:05 UTC 2008
Modified Files:
src/lib/libc/compat/gen [christos-time_t]: Makefile.inc compat_utmpx.c
src/lib/libc/gen [christos-time_t]: utmp.c utmpx.c
Added Files:
src/lib/libc/compat/gen [christos-time_t]: compat_utmp.c
src/lib/libc/compat/include [christos-time_t]: utmp.h
Log Message:
fix utmp{,x} issues:
- add old utmp format support. Ugly and difficult to get right. For now
try to deal by detecting the size of the file and seeing if it is a
multiple of sizeof(struct utmp50).
- fix NULL pointer in cvt.
- version the UTMPX database, and detect if we have an old or new one
and act accordingly.
To generate a diff of this commit:
cvs rdiff -r1.8.4.2 -r1.8.4.3 src/lib/libc/compat/gen/Makefile.inc
cvs rdiff -r0 -r1.1.2.1 src/lib/libc/compat/gen/compat_utmp.c
cvs rdiff -r1.2.8.1 -r1.2.8.2 src/lib/libc/compat/gen/compat_utmpx.c
cvs rdiff -r0 -r1.1.2.1 src/lib/libc/compat/include/utmp.h
cvs rdiff -r1.7 -r1.7.8.1 src/lib/libc/gen/utmp.c
cvs rdiff -r1.25.8.1 -r1.25.8.2 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