ru
d70d6a2c6b
mdoc(7) police: lint.
2002-05-29 18:00:23 +00:00
tjr
24cc1f8e45
Add the SUSv3 -l option to at. This is an alias for atq. Allow job ids
...
to be specified on the command line for which information should be reported.
Submitted by: Joe Halpin <joe.halpin@attbi.com>
Reviewed by: mike
2002-05-16 00:47:14 +00:00
kuriyama
09fb9b5c52
Change whtespace indent in format string to fit new output form of
...
timestamp.
Reviewed by: markm
2002-05-08 11:23:45 +00:00
asmodai
ae6db00714
Document the fact that at(1) is run through cron(8) and that this affects
...
the granularity of the at queue runs.
Submitted by: mux
2002-05-04 15:33:12 +00:00
ru
e34c7a0a63
mdoc(7) police: markup fixes.
2002-03-15 15:26:57 +00:00
bde
2015121deb
#include <sys/time.h> instead of depending on namespace pollution in
...
<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.
2002-02-25 04:47:39 +00:00
markm
ae2558974f
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
mike
0a8d67f762
o Remove the -V [version number] option, since our version of at(1) no
...
longer resembles the original.
o Remove references to `you' in the manual.
Submitted by: Joe Halpin <joe.halpin@attbi.com>
2002-01-22 03:04:15 +00:00
mike
2c590ba2d9
Fix a typo introduced in the previous delta. The mistake was mine
...
rather than the submitter's.
2002-01-17 07:48:12 +00:00
mike
2624e483f0
Implement the POSIX 1003.1-2001 -r and -t options in at(1). Fix some
...
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
2002-01-13 20:21:08 +00:00
keramida
4233d5966d
- Add 4-digit year variants in the manpage, since at(1) already
...
understands them.
PR: docs/32843
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2002-01-10 08:21:31 +00:00
dwmalone
d9613ea383
Style improvements recommended by Bruce as a follow up to some
...
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.
2001-12-10 21:13:08 +00:00
markm
d46c91fd8b
Use __FBSDID()
2001-12-02 20:23:02 +00:00
markm
1713f5e655
WARNS=2 fixup.
2001-12-02 12:26:18 +00:00
brian
28c7078186
Allow an ``at now'' specification.
...
PR: 32242
Submitted by: Alan E <alane@geeksrus.net>
MFC after: 3 weeks
2001-11-24 10:43:53 +00:00
ru
dfea2339f3
mdoc(7) police: kill whitespace at EOL and HSB.
2001-11-20 15:43:25 +00:00
murray
fb660d461e
Use .Nm to correctly display the program name.
...
PR: docs/32086
Submitted by: setantae@submonkey.net
MFC After: 2 days
2001-11-19 08:12:17 +00:00
ru
bc205d4152
Set BINOWN=root explicitly for setuid root binaries.
...
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.
2001-09-13 06:48:18 +00:00
ru
3527c363d5
SECURITY.
...
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.
2001-09-04 16:15:51 +00:00
kris
70a0876b07
Remove some unsafe function calls from the signal handlers.
...
Obtained from: OpenBSD
Reviewed by: audit
MFC after: 2 weeks
2001-09-01 07:35:25 +00:00
dd
415090c0c1
An empty at.deny doesn't mean everyone can use at.
...
PR: 29549
Submitted by: swear@aa.net
2001-08-14 06:41:20 +00:00
obrien
ee6fd791db
Expland `mymalloc' with malloc + error checking.
2001-07-24 14:15:51 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
ru
89596e4538
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
ru
06e5712a05
Don't use MANDEPEND and MANSRC.
2001-03-26 07:28:26 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
ru
e6cfc0711d
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
ru
c23c39b3a4
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
sheldonh
9787eba10e
Y2K fix. at(1) would die with 'garbled time' when assign_date() was
...
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
2000-03-27 09:32:23 +00:00
charnier
4bd9a70bb4
Typo
2000-03-26 14:29:45 +00:00
mpp
0de2441780
Change the usage of the .Nm macro in the NAME section to be
...
consistent with the rest of the system.
2000-03-24 00:30:30 +00:00
charnier
345f916537
Correct use of .Nm, .Em, .Ev
...
Add rcsid. Use errx instead of fprintf + exit.
Various spelling fixes.
1999-12-05 19:57:14 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nsayer
fc7337e0f6
1. Add support for months and years in relative time spec (now + 1 year)
...
2. Rip out dateadd() and re-do the plus operator handler to use mktime()
instead (per wollman).
Reviewed by: wollman
1999-08-26 16:18:38 +00:00
mpp
678c6e21bd
Various man page cleanup:
...
- 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>
1999-08-15 08:25:34 +00:00
billf
73d3a9b398
(1) Don't perror() when at.deny doesn't exist, that's an accepted behavior.
...
(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
1999-07-01 01:07:30 +00:00
imp
22f901a57c
More egcs warning fixes:
...
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
1999-04-25 22:37:58 +00:00
fenner
1fff269456
Clean up some .Os macro uses: quotes are not needed, multiple arguments
...
don't really work if the first one isn't "FreeBSD", and "FreeBSD-Experimental"
isn't an OS name.
1999-02-15 08:34:14 +00:00
archie
731caa6ae4
Eliminate compiler warnings from -Wall
1998-12-06 07:42:09 +00:00
mckay
098b4f80dd
atq ignored locale info when printing dates. Is the other call to
...
setlocale() just in the wrong place?
PR: 8300
1998-10-15 13:30:48 +00:00
obrien
18dba2fe21
Remove useless `BINOWN=root' now that it is the default.
1998-09-19 22:42:06 +00:00
steve
bd87efc753
Typo fix: garbeld -> garbled
...
PR: 7784
Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-08-30 17:33:05 +00:00
alex
4ca2e8e620
Year is sometimes set to -1 when assign_date() is called. Check for -1
...
before Y2K processing.
PR: 7524
1998-08-08 14:02:06 +00:00
des
39b76225e4
Recognize long month names in addition to short ones.
...
PR: bin/7228
Submitted by: Archie Cobbs <archie@whistle.com>
1998-07-09 22:51:59 +00:00
imp
276491a1c6
$@ is deprecated, use ${.TARGET} instead. Ditto for other single character
...
$n.
PR: conf/3273
1998-06-09 04:07:23 +00:00
steve
260fa64a35
Fix a bunch of spelling errors.
...
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
alex
25b5448723
Permit double digit year values to be used in the next millenium.
1998-05-05 01:53:15 +00:00
charnier
409a50cddf
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
charnier
96376ee333
Revert part of previous commit. I didn't see rcsid string in the middle of
...
the file. Put includes in alphabetical order.
1997-06-24 06:26:32 +00:00
charnier
ff79b92da8
Use err(3).
...
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.
1997-06-23 06:44:18 +00:00