| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
errexit (-e) processing. This solves a problem where 'make clean' would
fail with an unspecified error in certain automake-generated makefiles.
Reviewed by: no objections from -hackers...
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
| |
PR: bin/6577
Submitted by: Anatoly Vorobey <mellon@pobox.com>
Approved by: silence amoung other sh experts
|
|
|
|
|
|
| |
PATH=... command
Noted by and fix works for Marcel Moolenaar <marcel@scc.nl>
|
|
|
|
| |
Fix a warning.
|
|
|
|
|
|
|
| |
1.23. This revision should work for long pipes both in
here-documents/backquote and in normal cases.
Fix works for jmz, bde.
|
|
|
|
|
|
| |
don't have their stdin closed indisciminantly.
Reviewed by: markm
|
|
|
|
|
|
|
|
| |
than two processes (got that? :-), the stdin fd of the middle
processes that has just been set up was accidetially closed. Don't do
this.
PR: bin/14527
|
|
|
|
| |
PR: bin/14509
|
| |
|
|
|
|
|
|
|
|
| |
which it should not do.
PR: 12578
Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Submitted by: Niall Smart <niall@pobox.com>
|
|
|
|
| |
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
|
|
|
|
| |
PR: bin/9173
|
|
|
|
|
|
|
|
|
| |
is killed by a signal.
(In non-interactive shells - that means a shellscript - the shell just
exits, this was already working)
PR: bin/9173
|
|
|
|
|
|
|
|
|
|
| |
make /etc/rc interruptible in cases when programs hang with blocked
signals) isn't standard enough.
It is now switched off by default and a new switch -T enables it.
You should update /etc/rc to the version I'm about to commit in a few
minutes to keep it interruptible.
|
| |
|
|
|
|
|
|
| |
This is needed for the '-e' option. See the PR for more details.
PR: 6047
Reviewed by: PR submitter, silence on review request.
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Obtained from: NetBSD, me
|
|
|
|
|
|
|
|
|
|
| |
This patch causes too many side effects, one of which bites hard is
when interrupting a 'make fetch' in the ports tree (PR#1990).
This whole area is a real can of worms....
This most definately should go into 2.2
Reviewed by: steve, bde
|
|
|
|
|
|
|
| |
when a child is forked and the -c commandline switch
has been specified.
Reviewed by: joerg
|
|
|
|
|
|
|
|
|
| |
flag text in the man page. Now this will work
correctly:
/bin/sh -ec 'false && true; echo hi'
Obtained from: VaX#n8 <vax@linkdead.paranoia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
merge of parallel duplicate work by Steve Price and myself. :-]
There are some changes to the build that are my fault... mkinit.c was
trying (poorly) to duplicate some of the work that make(1) is designed to
do. The Makefile hackery is my fault too, the depend list was incomplete
because of some explicit OBJS+= entries, so mkdep wasn't picking up their
source file #includes.
This closes a pile of /bin/sh PR's, but not all of them..
Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
|
|
|
|
|
|
|
| |
e.g.:
ls |> foo.out
sh now behaves the same as it does under SunOS 4.x for this case.
|
|
|
|
| |
Reviewed by: phk
|
| |
|
|
|