Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-09-22 | Sync from gnulib. | Paul Eggert | |
2005-06-22 | (desirable_utmp_entry): Fix bug where "who -b" and "who -r" | Paul Eggert | |
failed to give output. | |||
2005-06-02 | Don't use "path" or "filename" to mean "file name" | Paul Eggert | |
in comments or local variable names. | |||
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2005-03-30 | (read_utmp) [!defied UTMP_NAME_FUNCTION]: Add support for options. | Paul Eggert | |
Don't assume the file is a regular file. | |||
2005-03-30 | (read_utmp): New arg OPTIONS. All uses changed. | Paul Eggert | |
Include signal.h, stdbool.h. (desirable_utmp_entry): New function. (read_utmp) [defined UTMP_NAME_FUNCTION]: Redo memory allocation using x2nrealloc, to simplify logic. (read_utmp) [!defined UTMP_NAME_FUNCTION]: Check for overflow in size calculation. | |||
2004-11-30 | Include readutmp.h first. | Paul Eggert | |
Include <errno.h>, since readutmp.h no longer does that. | |||
2004-10-04 | Sync from gnulib, to remove dependencies of other modules on unlocked-io. | Paul Eggert | |
2004-08-02 | (read_utmp): Don't assume that the number of users is less than INT_MAX. | Paul Eggert | |
Check for integer overflow in size calculations. Return -1 (not 1) on failure, since we set errno in that case. | |||
2004-06-12 | (extract_trimmed_name): Don't apply strchr to a | Jim Meyering | |
non-string; this leads to undefined behavior. | |||
2004-04-19 | (read_utmp) [UTMP_NAME_FUNCTION]: Upon realloc failure, | Jim Meyering | |
don't leak memory and do call END_UTMP_ENT. | |||
2003-10-16 | Fix indentation, from gnulib. | Jim Meyering | |
2003-09-17 | (read_utmp): Likewise. | Jim Meyering | |
Check for fstat error. Close stream and free storage when failing. | |||
2003-04-11 | Include <string.h> and <stdlib.h> unconditionally. | Jim Meyering | |
2003-04-11 | Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values. | Jim Meyering | |
2003-01-10 | Don't declare functions declared by xalloc.h. | Jim Meyering | |
Include "xalloc.h" instead. | |||
2001-11-17 | Include unlocked-io.h. | Jim Meyering | |
2000-04-05 | Include sys/types.h before sys/stat.h. | Jim Meyering | |
Required for ultrix4.3. | |||
2000-02-03 | (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION', | Jim Meyering | |
rather than with `#if HAVE_UTMPNAME'. | |||
2000-01-30 | (extract_trimmed_name): Use UT_USER instead of hard-coding | Jim Meyering | |
uses of ->ut_name. The latter doesn't work with new Linux header files where only utmpx.ut_user is declared. | |||
1999-05-05 | (read_utmp): Use the new definitions. | Jim Meyering | |
1999-05-03 | (read_utmp): Ignore the return value from utmpname. | Jim Meyering | |
1999-03-02 | (read_utmp) [HAVE_UTMPNAME]: Rewrite. | Jim Meyering | |
1999-02-08 | Include stdio.h. | Jim Meyering | |
1999-02-08 | *** empty log message *** | Jim Meyering | |
1998-05-16 | (read_utmp): Add variant for systems that have the utmpname function. | Jim Meyering | |
Ansideclify. | |||
1997-07-13 | don't include error.h. | Jim Meyering | |
1997-07-13 | (read_utmp): Take new params: count and buffer. | Jim Meyering | |
Return boolean indicating failure. Now, caller must give diagnostic upon. | |||
1997-07-13 | . | Jim Meyering | |