Go to file
christos d1dcd2f401 PR/8657: z@rentaboat.se: alarm takes more seconds that it can handle.
This is a followup to PR/14558.

    - itimerfix(9) limited the number of seconds to 100M, before I changed
      it to 1000M for PR/14558.
    - nanosleep(2) documents a limit of 1000M seconds.
    - setitimer(2), select(2), and other library functions that indirectly
      use setitimer(2) for example alarm(3) don't specify a limit.

So it only seems appropriate that any positive number of seconds in
struct timeval should be accepted by any code that uses itimerfix(9)
directly, except nanosleep(2) which should check for 1000M seconds
manually. This changes makes the manual pages of select(2), nanosleep(2),
setitimer(2), and alarm(3) consistent with the code.
2001-11-13 00:34:21 +00:00
bin PR/14558: Tero Kivinen: Check the return value of nanosleep and don't fail 2001-11-12 14:55:53 +00:00
crypto fix auth_krb5() error case behavior. found by jhawk, sync with openbsd tree 2001-11-12 05:45:29 +00:00
dist s/%%m/%m/ 2001-11-12 03:06:44 +00:00
distrib Make everything fit once again. 2001-11-11 07:46:46 +00:00
etc Fix vnd blk/chr number. 2001-11-11 00:39:33 +00:00
games Update to the new t_agetstr() API. 2001-11-02 18:27:00 +00:00
gnu Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
include Be smarter about finding rpcgen's absolute path; only do it if ${RPCGEN} 2001-11-01 15:03:07 +00:00
lib Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
libexec ANSI'ify. 2001-11-10 17:35:54 +00:00
regress Simplify a bunch of explicit ${.OBJDIR} references to make these more like 2001-10-31 15:57:49 +00:00
sbin move guts of non-F special parsing into separate openpartition() func 2001-11-09 11:48:39 +00:00
share Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
sys PR/8657: z@rentaboat.se: alarm takes more seconds that it can handle. 2001-11-13 00:34:21 +00:00
tools Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
usr.bin Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
usr.sbin Ugg...Turn LIST_FOREACH into a while loop around LIST_NEXT... 2001-11-11 05:07:20 +00:00
BUILDING Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
BUILDING.mdoc Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
Makefile Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00
Makefile.inc Set RELTOP to '.' if that's where we are. 2000-05-06 15:05:15 +00:00
UPDATING note wcstod.c needs new lint. 2001-10-30 06:05:28 +00:00
build.sh Major overhaul of src/tools and host toolchain. Summary of changes: 2001-11-12 23:16:17 +00:00