summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_unix.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-15 17:12:00 +0000
committerbde <bde@FreeBSD.org>1998-05-15 17:12:00 +0000
commitf4b22a6ef56ba932e9718070590d1f1aebf0d69d (patch)
tree5ba56e6ba64ec7ddcc6c07ac136254893bc8a601 /lib/libc/rpc/svc_unix.c
parentac3cdb08ee1f248e23564e1dcc1c837a13d0988a (diff)
downloadFreeBSD-src-f4b22a6ef56ba932e9718070590d1f1aebf0d69d.zip
FreeBSD-src-f4b22a6ef56ba932e9718070590d1f1aebf0d69d.tar.gz
Don't use `&&' in any shell commands here. Using it to give conditional
execution is usually unnecessary in BSD Makefiles because BSD make invokes shells with -e. Using it to give conditional execution is often wrong in BSD makefiles because BSD make joins shell commands when invoked in certain ways (in particular, as `make -jN'). Example makefile: --- clean: cd / false && true rm -rf * # a dangerous command --- This should terminate after the `false && true' command fails, but it doesn't when the commands are joined (`false && true' is a non- simple command, so -e doesn't cause termination). The b-maked version: --- clean: cd / false; true rm -rf * # a dangerous command --- terminates after the `false' command fails (`false' is a simple command, so -e causes termination). However, for versions of make like gnu make that don't invoke shells with -e, this change completely breaks the makefile. This is one of the fixes for the bug suite that caused `make world' to sometimes put raw cpp output in .depend files. Building of cc sometimes failed, but the failure did not terminate the build immediately, and various wrong versions of the cc components were used until one was wrong enough to cause a fatal error.
Diffstat (limited to 'lib/libc/rpc/svc_unix.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud