summaryrefslogtreecommitdiffstats
path: root/usr.bin/at
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: actually test the return of strchr(3)bapt2016-04-201-1/+1
| | | | | | Reported by: Coverity CID: 1007335 MFC after: 3 days
*-. Merge from headbapt2015-09-121-2/+3
|\ \
| | * Finish r89633 and completely remove the remaining of VERSION.delphij2015-08-251-2/+3
| |/ | | | | | | | | | | PR: bin/202308 Submitted by: John Hein <z7dr6ut7gs snkmail com> MFC after: 2 weeks
* | Merge from headbapt2015-06-151-0/+18
|\ \ | |/
| * Add META_MODE support.sjg2015-06-131-0/+18
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| | * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| | |
| | * Merge from head@274682sjg2014-11-191-2/+1
| | |\ | | |/ | |/|
| | * Merge head from 7/28sjg2014-08-191-3/+4
| | |\
| | * | Updated dependenciessjg2014-05-161-1/+0
| | | |
| | * | Updated dependenciessjg2014-05-101-0/+2
| | | |
| | * | sync from headsjg2013-04-122-3/+27
| | |\ \
| | * | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| | * | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| | | | |
| | | \ \
| | *-. \ \ Sync from headsjg2012-11-042-30/+64
| | |\ \ \ \
| | * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | |/ / / | | |/| | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | Make at(1) and related tools an individual packagebapt2015-03-051-0/+1
|/ / / / /
* | | | | Sigh, remove a line that needs to be removed along with previous commit.delphij2014-09-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: mjg MFC after: 3 days X-MFC-with: 272288
* | | | | When setting environment variables in the atrun script, use thedelphij2014-09-291-1/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "export foo=bar" form instead of "foo=bar; export foo" since the former allows the shell to catch variable names that are not valid shell identifiers. This will cause /bin/sh to exit with an error (which gets mailed to the at user) and it will not run the script. Obtained from: OpenBSD (r1.63 millert) MFC after: 3 days
* | | | use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-3/+4
| |_|/ |/| | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | - Do not bail out if stat(2) fails with ENOENT in the spool directory. Thisgahr2013-04-121-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | happens if another atrm process removes a job while we're scanning through the directory. - While at it, optimize a bit the directory scanning, so that we quit looping as soon as all jobs specified in argv have been dealt with. Approved by: cognet
* | | - Switch order of setting real uid and gid. If we set uid first, then wegahr2013-04-121-1/+1
| |/ |/| | | | | | | | | | | | | don't have enough privileges to set gid. This looks like a long standing bug, just recently revealed by r241852. Approved by: cognet
* | Check the return error of set[ug]id. While this can never fail in theeadler2012-10-221-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. PR: bin/172289 PR: bin/172290 PR: bin/172291 Submittud by: Erik Cederstrand <erik@cederstrand.dk> Discussed by: freebsd-security Approved by: cperciva MFC after: 1 week
* | More -Wmissing-variable-declarations fixes.ed2012-10-191-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* | Allow time offsets to be negative, e.g. `at 1530 - 15 minutes`.cracauer2012-10-051-13/+49
|/ | | | | | | | This is useful if you have been given some time for some event in some format and you want your computer to do something to prepare for it. Without having to do time arithmetic in a shellscript. The syntax matches what the at(1) usually used on Linux supports.
* Partially revert r227233.ed2011-11-062-4/+11
| | | | | | | | The privs.h header is not only used by at(1), it's also used by atrun(8). Just let the code the way it used to be (for now). Reported by: kwm, tinderbox Hat to: me
* Add missing static keywords to at(1).ed2011-11-063-18/+9
| | | | | | While there, tidy up the privs.h part, where at.c has to #define to declare some globals. Also group static and non-static global variables in at.c.
* Build at(1) with NO_WFORMAT instead of WARNS=1.ed2011-10-161-1/+1
|
* Close file and directory descriptorskevlo2010-11-191-0/+3
| | | | MFC after: 3 days
* 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
OpenPOWER on IntegriCloud