summaryrefslogtreecommitdiffstats
path: root/usr.bin/at
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-211-2/+2
| | | | I removed utmp and its manpage, but not other manpages referring to it.
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* ANSIfy various tools in usr.bin/.ed2010-01-021-1/+1
| | | | | Most of these tools properly build at WARNS=6, except for their K&R function declarations. Fix this, so we can bump WARNS as well.
* Use NULL instead of 0 for the return value of fopen().kevlo2007-09-211-2/+2
| | | | Approved by: re (kensmith)
* While revision 1.26 fixed the code to really subtract 3600 due tostefanf2005-08-181-3/+1
| | | | | daylight-saving, this was actually wrong because mktime() already does that for us.
* Don't throw away the adjusted `runtimer' value.stefanf2005-08-051-3/+1
|
* Sort sections.ru2005-01-181-7/+7
|
* Explain the format of the at.allow and at.deny files in detail.keramida2003-03-261-0/+5
| | | | | PR: 35942 Submitted by: Gary W. Swearingen <swear@blarg.net>
* The .Nm utility.keramida2003-02-281-4/+9
|
* mdoc(7) police:ru2002-11-261-1/+3
| | | | | | | | Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai] strings; using these strings is unsafe in troff mode, as they include a change in a font size. Approved by: re
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-2/+2
|
* - Use MAXLOGNAME - 1 instead of UT_NAMESIZE.robert2002-07-221-11/+5
| | | | - Do not pretend there is something like '/etc/utmp'.
* mdoc(7) police: lint.ru2002-05-291-2/+3
|
* Add the SUSv3 -l option to at. This is an alias for atq. Allow job idstjr2002-05-163-6/+62
| | | | | | | to be specified on the command line for which information should be reported. Submitted by: Joe Halpin <joe.halpin@attbi.com> Reviewed by: mike
* Change whtespace indent in format string to fit new output form ofkuriyama2002-05-081-2/+2
| | | | | | timestamp. Reviewed by: markm
* Document the fact that at(1) is run through cron(8) and that this affectsasmodai2002-05-041-0/+14
| | | | | | the granularity of the at queue runs. Submitted by: mux
* mdoc(7) police: markup fixes.ru2002-03-151-13/+20
|
* #include <sys/time.h> instead of depending on namespace pollution inbde2002-02-251-7/+8
| | | | | | | | <sys/stat.h> for the declaration of struct timeval (sys/stat.h> only needs timespecs even when its POSIX support is not turned on, so it shouldn't declare timevals). Fixed some #include messes.
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* o Remove the -V [version number] option, since our version of at(1) nomike2002-01-223-43/+26
| | | | | | | longer resembles the original. o Remove references to `you' in the manual. Submitted by: Joe Halpin <joe.halpin@attbi.com>
* Fix a typo introduced in the previous delta. The mistake was minemike2002-01-171-1/+1
| | | | rather than the submitter's.
* Implement the POSIX 1003.1-2001 -r and -t options in at(1). Fix somemike2002-01-134-26/+157
| | | | | | | | minor issues in the rest of the source and manual. Submitted by: Joe Halpin <joe.halpin@attbi.com> Obtained from: touch(1) (partially) MFC after: 1 month
* - Add 4-digit year variants in the manpage, since at(1) alreadykeramida2002-01-101-6/+7
| | | | | | | understands them. PR: docs/32843 Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-104-4/+0
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Use __FBSDID()markm2001-12-024-16/+12
|
* WARNS=2 fixup.markm2001-12-027-18/+24
|
* Allow an ``at now'' specification.brian2001-11-241-1/+5
| | | | | | PR: 32242 Submitted by: Alan E <alane@geeksrus.net> MFC after: 3 weeks
* mdoc(7) police: kill whitespace at EOL and HSB.ru2001-11-201-6/+8
|
* Use .Nm to correctly display the program name.murray2001-11-191-1/+3
| | | | | | PR: docs/32086 Submitted by: setantae@submonkey.net MFC After: 2 days
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-131-0/+1
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* SECURITY.ru2001-09-042-40/+42
| | | | | | | | | | | | | Fixed macros for temporarily relinquishing and restoring setuid/setgid privileges so that they never change the real user and group IDs of the calling process. The setre[ug]id() calls are still used in the REDUCE_PERM macro (with the r[ug]id arguments of -1) so that the call changes the saved user and group IDs of the process to that specified. Also, the panic() and perr() functions had insufficient privileges to delete the problematic file under /var/at.
* Remove some unsafe function calls from the signal handlers.kris2001-09-011-6/+14
| | | | | | Obtained from: OpenBSD Reviewed by: audit MFC after: 2 weeks
* An empty at.deny doesn't mean everyone can use at.dd2001-08-141-4/+0
| | | | | PR: 29549 Submitted by: swear@aa.net
* Expland `mymalloc' with malloc + error checking.obrien2001-07-244-17/+10
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-271-4/+4
|
* Don't use MANDEPEND and MANSRC.ru2001-03-261-5/+2
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-4/+4
|
* Prepare for mdoc(7)NG.ru2000-12-191-3/+4
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* Y2K fix. at(1) would die with 'garbled time' when assign_date() wassheldonh2000-03-271-20/+22
| | | | | | | | | | | | | pased a year > 99. This change fixes the conversion of 2-digit years into tm_year format. This change is differs from the OpenBSD fix because of differences in our assign_date(). PR: 15872 Reported by: "Crist J. Clark" <cjclark@home.com> Submitted by: "Sergey N. Voronkov" <serg@dor.zaural.ru> Obtained from: OpenBSD
* Typocharnier2000-03-261-1/+1
|
* Change the usage of the .Nm macro in the NAME section to bempp2000-03-241-1/+4
| | | | consistent with the rest of the system.
* Correct use of .Nm, .Em, .Evcharnier1999-12-056-127/+120
| | | | | Add rcsid. Use errx instead of fprintf + exit. Various spelling fixes.
* $Id$ -> $FreeBSD$peter1999-08-286-6/+6
|
* 1. Add support for months and years in relative time spec (now + 1 year)nsayer1999-08-262-52/+35
| | | | | | | 2. Rip out dateadd() and re-do the plus operator handler to use mktime() instead (per wollman). Reviewed by: wollman
* Various man page cleanup:mpp1999-08-151-6/+6
| | | | | | | | | - Sort xrefs - Be consistent with section names as outlines in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
* (1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.billf1999-07-011-3/+6
| | | | | | | | (2) Die when there is a problem opening at.allow other then it not existing. An error other then it not existing might be a trick to somehow circumvent system security. Mostly Reviewed By: msmith
* More egcs warning fixes:imp1999-04-251-2/+2
| | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr
* Clean up some .Os macro uses: quotes are not needed, multiple argumentsfenner1999-02-151-2/+2
| | | | | don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental" isn't an OS name.
OpenPOWER on IntegriCloud