#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
251433 |
|
05-Jun-2013 |
jilles |
sleep: Explain in a comment why the [EINTR] check is there.
Suggested by: eadler
|
#
251078 |
|
28-May-2013 |
jilles |
sleep: Improve nanosleep() error handling:
* Work around kernel bugs that cause a spurious [EINTR] return if a debugger (such as truss(1)) is attached.
* Write an error message if an error other than [EINTR] occurs.
PR: bin/178664
|
#
210749 |
|
02-Aug-2010 |
kib |
Simplify argument parser by using sscanf(); simplify usage() by not refusing to use stdio. Reduce nesting level in the sleep loop by returning earlier for negative timeouts. Limit the maximum timeout to INT_MAX seconds.
Submitted by: bde MFC after: 3 weeks
|
#
210696 |
|
31-Jul-2010 |
kib |
Deal with proper format for printing time_t.
Reported by: ache MFC after: 3 weeks
|
#
210679 |
|
31-Jul-2010 |
kib |
Report the time left for the sleep on SIGINFO. Be stricter in the checking of interval specification.
PR: bin/139345 MFC after: 3 weeks
|
#
148816 |
|
07-Aug-2005 |
stefanf |
Fix a comment.
Submitted by: Liam J. Foy
|
#
139969 |
|
10-Jan-2005 |
imp |
/*- or .\"- or #- to begin license clauses.
|
#
127958 |
|
06-Apr-2004 |
markm |
Remove clause 3 from the UCB licenses.
OK'ed by: imp, core
|
#
114575 |
|
03-May-2003 |
markm |
Fix warnings. This is now WARNS=9, std=c99 clean in i386. Use return(0) for main() instead of exit(0). Makes it a wee bit smaller.
|
#
114433 |
|
01-May-2003 |
obrien |
Quiet warnings about copyright[].
|
#
106883 |
|
13-Nov-2002 |
njl |
Minimal take on previous commit -- remove getopt and printf. Static size is reduced by 40k, dynamic by a few bytes. Functional changes: * "sleep -- arg" now returns usage() instead of ignoring the -- * "sleep -1" now returns immediately instead of returning usage()
Reviewed by: jmallett
|
#
106882 |
|
13-Nov-2002 |
njl |
Back out previous commit since there is controversy about changing so much in sleep including duping strtol(3). Code changes also increased dynamic size of sleep(1).
|
#
106874 |
|
13-Nov-2002 |
njl |
Remove getopt and strtol dependencies, reducing size of static exe. Preserve older desired behavior, accept [+-]*[0-9]*\.[0-9]* Remove a few unnecessary casts.
%ls -l /bin/sleep -r-xr-xr-x 1 root wheel 61332 Oct 28 05:16 /bin/sleep %ls -l /usr/obj/usr/src/bin/sleep/sleep -rwxr-xr-x 1 root wheel 19124 Nov 13 12:12 /usr/obj/usr/src/bin/sleep/sleep
Submitted by: Tim Kientzle <kientzle@acm.org>
|
#
99110 |
|
30-Jun-2002 |
obrien |
Consistently use FBSDID
|
#
90111 |
|
02-Feb-2002 |
imp |
o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o Change int foo() { ... to int foo(void) { ...
|
#
76881 |
|
20-May-2001 |
kris |
Silence WARNS=2 and BDECFLAGS on alpha and i386
MFC After: 1 week
|
#
51835 |
|
01-Oct-1999 |
ru |
Let sleep(1) handle fractions of a second (up to nanosecond).
This is a conservative change. It does the same thing in weird cases like the old one. For example, 'sleep abcd' still sleeps for zero seconds. `sleep 10.a' and `sleep 10.05aa' do the best and not abort (ie: 10.a == 10 seconds, 10.05a == 10.05 seconds).
|
#
50471 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
36152 |
|
18-May-1998 |
charnier |
Correct use of .Nm. Add rcsid.
|
#
24348 |
|
28-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
22988 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
20423 |
|
14-Dec-1996 |
steve |
Cleanup man page and -Wall cleaning.
|
#
3044 |
|
24-Sep-1994 |
dg |
Added $Id$
|
#
1557 |
|
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1556, which included commits to RCS files with non-trunk default branches.
|
#
1556 |
|
26-May-1994 |
rgrimes |
BSD 4.4 Lite bin Sources
|