| History log of /src/games/dm/dm.c |
| Revision | | Date | Author | Comments |
| 1.30 |
| 02-May-2021 |
rillig | games: remove trailing whitespace in *.c and *.h
|
| 1.29 |
| 27-Aug-2009 |
dholland | remove unnecessary cast
|
| 1.28 |
| 12-Aug-2009 |
dholland | sprinkle static
|
| 1.27 |
| 06-Aug-2009 |
dholland | Don't use a FILE * after fclose(). PR 41832 from Henning Petersen.
|
| 1.26 |
| 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings.
|
| 1.25 |
| 13-Jul-2008 |
dholland | Clarify how one is supposed to use the pointers returned by getutentries() (the utmpentry.c code), specifically with respect to who owns them and when to free them. Now they're owned by utmpentry.c, only. Abolish the freeutentries() function, which was the wrong abstraction; add instead endutentries(), which flushes out the internally managed memory.
Update callers as necessary. Some (e.g. talkd) had been leaking memory; others (e.g. syslogd) had been accidentally freeing and reloading utmp more often than necessary. There are a couple untidy bits in users and rwhod that someone should look after sometime, maybe.
Fixes PR bin/35131, which was about talkd's memory leak.
|
| 1.24 |
| 15-Dec-2007 |
perry | branches: 1.24.6; convert __attribute__s to applicable cdefs.h macros
|
| 1.23 |
| 25-May-2006 |
dan | branches: 1.23.10; read config more strictly, from Maximillian Dornseif
|
| 1.22 |
| 02-Jul-2005 |
jmc | KNF conversion
|
| 1.21 |
| 05-Nov-2004 |
dsl | branches: 1.21.2; 1.21.4; Add (unsigned char) cast to ctype functions
|
| 1.20 |
| 08-Feb-2004 |
jsm | branches: 1.20.2; 1.20.4; 1.20.6; Mark unused parameters, nonreturning functions and format functions in the few cases not already marked.
|
| 1.19 |
| 27-Jan-2004 |
jsm | Remove uses of __P.
|
| 1.18 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.17 |
| 02-Aug-2002 |
christos | utmpx support.
|
| 1.16 |
| 25-Jan-2001 |
jdolecek | play(): use snprintf() instead of hard-to-parse strncpy() calls
|
| 1.15 |
| 22-Sep-1999 |
jsm | Don't include terminal . in argument of err().
|
| 1.14 |
| 22-Sep-1999 |
jsm | Don't include <nlist.h>.
|
| 1.13 |
| 19-Sep-1999 |
jsm | Allow dm to ban games playing 11pm-midnight.
From OpenBSD.
|
| 1.12 |
| 14-Jul-1999 |
hubertf | Const poisoning. Patch submitted in PR 7993 by Joseph Myers <jsm28@cam.ac.uk>
|
| 1.11 |
| 13-Sep-1998 |
hubertf | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.10 |
| 13-Sep-1998 |
hubertf | Make dm ignore TZ; PR#6073 by Joseph Myers <jsm28@cam.ac.uk>
|
| 1.9 |
| 04-Jul-1998 |
mrg | minor KNF.
|
| 1.8 |
| 19-Nov-1997 |
mrg | remove an old setgid() from when dm(6) was setuid kmem (i assume for getloadavg())
|
| 1.7 |
| 10-Oct-1997 |
lukem | branches: 1.7.2; WARNSify
|
| 1.6 |
| 21-Apr-1997 |
mrg | be safe with buffers.
|
| 1.5 |
| 06-Feb-1996 |
jtc | Removed "extern int errno"; Added #include <errno.h> if not already present.
|
| 1.4 |
| 21-Mar-1995 |
cgd | clean up import
|
| 1.3 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.2 |
| 18-Apr-1993 |
mycroft | Cleanup for GCC 2.
|
| 1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 |
| 21-Mar-1995 |
cgd | from Lite
|
| 1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.7.2.1 |
| 19-Nov-1997 |
mellon | Pull rev 1.8 up from trunk (mrg)
|
| 1.20.6.1 |
| 30-May-2006 |
ghen | Pull up following revision(s) (requested by dan in ticket #10630): games/dm/dm.c: revision 1.23 read config more strictly, from Maximillian Dornseif
|
| 1.20.4.1 |
| 30-May-2006 |
ghen | Pull up following revision(s) (requested by dan in ticket #10630): games/dm/dm.c: revision 1.23 read config more strictly, from Maximillian Dornseif
|
| 1.20.2.1 |
| 30-May-2006 |
ghen | Pull up following revision(s) (requested by dan in ticket #10630): games/dm/dm.c: revision 1.23 read config more strictly, from Maximillian Dornseif
|
| 1.21.4.1 |
| 30-May-2006 |
ghen | Pull up following revision(s) (requested by dan in ticket #1342): games/dm/dm.c: revision 1.23 read config more strictly, from Maximillian Dornseif
|
| 1.21.2.1 |
| 30-May-2006 |
ghen | Pull up following revision(s) (requested by dan in ticket #1342): games/dm/dm.c: revision 1.23 read config more strictly, from Maximillian Dornseif
|
| 1.23.10.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.24.6.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|