summaryrefslogtreecommitdiffstats
path: root/dm/dm.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-4/+4
|
* remove unnecessary castdholland2009-08-271-3/+3
|
* sprinkle staticdholland2009-08-121-20/+25
|
* Don't use a FILE * after fclose(). PR 41832 from Henning Petersen.dholland2009-08-061-3/+3
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* Clarify how one is supposed to use the pointers returned by getutentries()dholland2008-07-131-7/+2
| | | | | | | | | | | | | (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.
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-4/+4
|
* read config more strictly, from Maximillian Dornseifdan2006-05-251-5/+5
|
* KNF conversionjmc2005-07-021-22/+16
|
* Add (unsigned char) cast to ctype functionsdsl2004-11-051-6/+6
|
* Mark unused parameters, nonreturning functions and format functions injsm2004-02-081-3/+3
| | | the few cases not already marked.
* Remove uses of __P.jsm2004-01-271-12/+12
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* utmpx support.christos2002-08-021-13/+13
|
* play(): use snprintf() instead of hard-to-parse strncpy() callsjdolecek2001-01-251-6/+3
|
* Don't include terminal . in argument of err().jsm1999-09-221-3/+3
|
* Don't include <nlist.h>.jsm1999-09-221-3/+2
|
* Allow dm to ban games playing 11pm-midnight.jsm1999-09-191-7/+11
| | | From OpenBSD.
* Const poisoning.hubertf1999-07-141-10/+10
| | | Patch submitted in PR 7993 by Joseph Myers <jsm28@cam.ac.uk>
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
|
* Make dm ignore TZ; PR#6073 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-131-2/+3
|
* minor KNF.mrg1998-07-041-8/+8
|
* remove an old setgid() from when dm(6) was setuid kmem (i assume for ↵mrg1997-11-191-3/+2
| | | | getloadavg())
* WARNSifylukem1997-10-101-56/+57
|
* be safe with buffers.mrg1997-04-211-4/+6
|
* Removed "extern int errno"; Added #include <errno.h> if not already present.jtc1996-02-061-3/+3
|
* clean up importcgd1995-03-211-17/+23
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* Cleanup for GCC 2.mycroft1993-04-181-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+327