Go to file
mycroft 1ccdf5daeb Make "set -e" once again provide the behavior documented in the man page,
which was unnecessarily changed in revision 1.50 while fixing other bugs.
That is, exit the shell if the last command in a || or && compound statement
is not short-circuited, and exits with a false status.  I.e., the following
will cause the shell to exit:

  set -e
  false || false

While this is not the prescribed behavior in SUSv3, it is what our man page
documents, and it is what all of the following implementations do:

  NetBSD /bin/ksh (pdksh)
  bash
  zsh
  Solaris 9 /bin/sh
  Solaris 9 /usr/xpg4/bin/sh
  Solaris 9 /usr/bin/ksh
  Tru64 /bin/sh
  HP/UX 11 /bin/sh

The "standard" seems to be wrong in this instance.
2004-06-30 09:32:38 +00:00
bin Make "set -e" once again provide the behavior documented in the man page, 2004-06-30 09:32:38 +00:00
contrib/sys Import FreeBSD's ath of 28-apr-2004 2004-04-29 03:54:46 +00:00
crypto restore behaviour before the 0.9.7d import: fall back to /dev/urandom 2004-06-21 15:14:16 +00:00
dist PR/25993: Grant Beattie: Ipf parser accepts invalid flags in rules 2004-06-29 22:33:25 +00:00
distrib Add missing NetBSD ID tags 2004-06-30 03:37:35 +00:00
doc binutils 2.15, db 4.2.52, gdb 6.1.1. 2004-06-29 05:24:37 +00:00
etc Install "pf" and "pflogd". 2004-06-30 09:22:41 +00:00
games Grammar fix, from ray at raylai org via jmc@openbsd. 2004-06-01 10:10:06 +00:00
gnu Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
include Completely rework how tools/compat is done. Purge all uses/references to 2004-06-20 22:20:14 +00:00
lib const'ify the arguments to pthread__assertfunc and _errorfunc; 2004-06-25 16:33:32 +00:00
libexec 2004, not 1994. 2004-06-25 17:36:04 +00:00
regress Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
rescue no need to list gnu/usr.bin any more. 2004-04-01 14:41:09 +00:00
sbin PR/26101: Dheeraj: WSKBDIO_GETSCROLL: Operation not supported by device 2004-06-28 20:01:33 +00:00
share Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
sys Build pf(4) lkm. 2004-06-30 09:21:26 +00:00
tools Define "_ISOC99_SOURCE" when building under NetBSD to get the prototypes 2004-06-23 11:08:01 +00:00
usr.bin Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
usr.sbin pflog if support for tcpdump. Peter Postma 2004-06-29 04:46:35 +00:00
x11 Relocate X68kConfig from X11LIBDIR to X11ETCDIR 2004-06-13 11:47:41 +00:00
build.sh Document -h. From Karsten Kruse in PR 25974. 2004-06-25 15:03:39 +00:00
BUILDING regen (Document -h. From Karsten Kruse in PR 25974. 2004-06-25 15:04:20 +00:00
Makefile Move '${MAKEDIRTARGET} x11 distribution' from Makefile::distribution to 2004-05-17 07:00:16 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING Include notes about purging most of tools/* before building to get correctly 2004-06-22 01:29:51 +00:00