| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Removed explicit dependencies of foo.o on foo.c. These were mainly
placeholders for comments about missing dependencies of tools objects
on headers. This problem needs to be handled more generally.
|
| |
|
| |
|
|
|
|
|
| |
a separate object tree doesn't exist. Crufty makefiles will have to
put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
|
| |
|
|
|
|
|
|
| |
This is needed for the '-e' option. See the PR for more details.
PR: 6047
Reviewed by: PR submitter, silence on review request.
|
|
|
|
| |
on generated headers). This is now handled generally in bsd.prog.mk.
|
|
|
|
| |
sourced by the "." command.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
urgent need is when you run sh around a program that intentionally
uses SIGQUIT/SIGINT for asynchronous events, i.e. $EDITOR started from
system(2), like many mailers do. This fixes PR bin/1206 and possibly
bin/4241.
The solution committed has been tested for a large number of possible
cases (see recent discussion on cvs-committers). I completed a make
world, made sure 'make world' is interruptable and used the changed
/bin/sh as a login shell all day, including job control and using
SIGQUIT-catching programs (to write this message :-).
PR: bin/1206
Reviewed by: discussion on cvs-commiters
|
|
|
|
|
| |
PR: 5415
Submitted by: Sergei S. Laskavy <laskavy@pc759.cs.msu.su>
|
| |
|
|
|
|
|
| |
Reorder includes to be alphabetical some places since I already was in
here.
|
|
|
|
| |
signal.
|
|
|
|
|
|
| |
cast value that was always ignored. Rev.1.9 of trap.c made this
more bogus by returning a semantically different value after calling
siginterrupt(). Avoid these problems by not returning a value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
trap 'echo xxx' 1 2 3 15
read x
is not interrupted by ^C (due to restartable read syscall) and must be
interrupted per POSIX
Worse case:
read -t 5 x
hangs forever after ^C pressed (supposed to timeout after 5 secs)
Fixed by adding siginterrupt(signo, 1) after catch handler installed
2) Do not reinstall sighandler immediately after it is called,
BSD do it for us
|
|
|
|
|
|
| |
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
|
|
|
|
|
|
|
|
| |
'read' command to return an error if the user fails to supply any
input withink a given time period. The behaviour of this option is
similar to that of the like-named option in ksh93.
Reviewed by: joerg
|
|
|
|
|
|
| |
The -c flag is not documented in the sh(1) manapge.
Submitted by: adrian@virginia.edu
|
|
|
|
| |
for tools).
|
|
|
|
| |
pid_t when referring to process IDs.
|
|
|
|
| |
political issue.
|
|
|
|
|
|
|
|
| |
>Category: bin
>Synopsis: WEXITSTATUS() may return nagative value, which causes sh to generate bad $?
PR: 3780
Submitted by: sanewo@ba2.so-net.or.jp
|
| |
|
|
|
|
|
|
|
| |
using the WIF* macros in sys/wait.h.
PR: bin/3668
Submitted by: dholland@eecs.harvard.edu
|
|
|
|
|
|
| |
rule that shows the dependency of arith_lex.[co] on y.tab.h.
Suggested by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
| |
not fail with an "don't know how to make y.tab.h" error.
|
| |
|
|
|
|
|
|
| |
depend on generated headers.
Reviewed by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
|
|
| |
from being executed in non-interactive mode.
Suggested and Reviewed by: Brian Somers <brian@freebsd.org>
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
|
|
| |
keyword usage.
Obtained from: NetBSD
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
and remove an unnecessary reset.
Obtained from: NetBSD
|
|
|
|
|
|
| |
arithmetic.
Obtained from: NetBSD
|
|
|
|
|
|
| |
input files FD_CLOEXEC.
Obtained from: NetBSD
|
|
|
|
|
|
| |
show an error message.
Inspired by: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
problem with 'make -j n' and no .depend file goes away.
I think Bruce mentioned this somewhere on one of the
mailing lists.
Obtained from: NetBSD
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
|
| |
to get truncated.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
tcsetpgrp failed, errno=1
Discovered and Reviewed by: joerg
|