The NetBSD Project

CVS log for src/bin/sh/jobs.c

[BACK] Up to [cvs.netbsd.org] / src / bin / sh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.69.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:01:38 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.69: +4 -3 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with head

Revision 1.70 / (download) - annotate - [select for diffs], Thu Feb 23 18:23:33 2012 UTC (3 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, HEAD
Changes since 1.69: +4 -3 lines
Diff to previous 1.69 (colored)

Don't use a for-loop with empty body.

Revision 1.68.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:17:48 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.69 / (download) - annotate - [select for diffs], Sat Jun 18 21:18:46 2011 UTC (11 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6
Branch point for: yamt-pagecache
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored)

PR/45069: Henning Petersen: Use prototypes from builtins.h .

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 21 17:16:11 2008 UTC (3 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.67: +12 -9 lines
Diff to previous 1.67 (colored)

don't free other jobs when we are specifically using the wait built-in.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Dec 21 00:19:59 2008 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.66: +6 -6 lines
Diff to previous 1.66 (colored)

PR/35055: Wada Keiji: wait did not keep the status of terminated jobs as
expected.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Oct 16 15:36:23 2008 UTC (3 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Changes since 1.65: +6 -3 lines
Diff to previous 1.65 (colored)

Wrap declaration of a STATIC function that's only conditionally defined
in a suitable ifdef, so things still compile if STATIC is defined as
"static", which is for some reason not the default.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Apr 24 19:00:29 2006 UTC (6 years, 1 month ago) by snj
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

It's "its."

Revision 1.64 / (download) - annotate - [select for diffs], Fri Sep 30 18:57:55 2005 UTC (6 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

Make slightly more portable without extra conditionals needed:

- Use getpgrp() rather than getpgid(0).
  (getpgrp() is already used elsewhere in this same file.)

- Use waitpid(-1, a, b) rather than wait3(a, b, NULL).

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jun 1 15:41:19 2005 UTC (6 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.62: +3 -2 lines
Diff to previous 1.62 (colored)

appease gcc -Wuninitialized

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 18 00:56:05 2003 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

PR/23786: Robert Nestor: wait command returns the wrong status code. This
seems to be an off-by-one error, since njobs is decremented before we use
it. I hope this does not break the vfork case!

Revision 1.61 / (download) - annotate - [select for diffs], Thu Nov 27 21:16:14 2003 UTC (8 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.60: +3 -5 lines
Diff to previous 1.60 (colored)

Generate command line when SMALL is defined and make buffer full sized.
All the code has been present for a while, and the memory cost is (about)
180 bytes per process.
Fixes PR bin/23545

Revision 1.60 / (download) - annotate - [select for diffs], Fri Nov 14 10:27:10 2003 UTC (8 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Add '\n' to "fork failed" trace messages.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Aug 26 18:12:33 2003 UTC (8 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

s/FD_SETFD/F_SETFD/

Revision 1.58 / (download) - annotate - [select for diffs], Thu Aug 7 09:05:33 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.57: +3 -7 lines
Diff to previous 1.57 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jan 27 12:54:08 2003 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.56: +14 -4 lines
Diff to previous 1.56 (colored)

- use FD_CLOEXEC properly
- move ttyfd to a high fd
suggested by Tim Robbins at FreeBSD.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Nov 25 12:13:03 2002 UTC (9 years, 6 months ago) by agc
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored)

Make this compile on some of the more esoteric architectures (e.g. those
which are not i386)

Revision 1.55 / (download) - annotate - [select for diffs], Sun Nov 24 22:35:40 2002 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.54: +536 -313 lines
Diff to previous 1.54 (colored)

Fixes from David Laight:
- ansification
- format of output of jobs command (etc)
- job identiers %+, %- etc
- $? and $(...)
- correct quoting of output of set, export -p and readonly -p
- differentiation between nornal and 'posix special' builtins
- correct behaviour (posix) for errors on builtins and special builtins
- builtin printf and kill
- set -o debug (if compiled with DEBUG)
- cd src obj (as ksh - too useful to do without)
- unset -e name, remove non-readonly variable from export list.
  (so I could unset -e PS1 before running the test shell...)

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 23 19:46:06 2002 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

From David Laight:

> Also 'jobs' fails in a non-interactive shell.
> In showjobs(), the code that puts the process back into its
> own process group should only be run if the shell is actually
> doing job control - eg if 'mflag' is set.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Sep 28 03:15:43 2002 UTC (9 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.52: +11 -3 lines
Diff to previous 1.52 (colored)

Revert the previous for now.  This is truly gross.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Sep 28 03:08:00 2002 UTC (9 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.51: +5 -13 lines
Diff to previous 1.51 (colored)

Remove the duplicate setpgid() in forkparent().  The real bug was freeing the
job structure in the child and referencing freed memory.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Sep 28 01:25:01 2002 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.50: +18 -21 lines
Diff to previous 1.50 (colored)

Revert previous change. No need to save rootshell. It is only affecting
the non-vfork case. Having said that, it would be nice if pipelines of
simple commands were vforked too. Right now they are not.
Explain that setpgid() might fail because we are doing it both in the
parent and the child case, because we don't know which one will come
first.
Suspending a pipeline prints %1 Suspended n times where n is the number
of processes, but that was there before. It is easy to fix, but I'll
leave the code alone for now.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Sep 27 22:56:24 2002 UTC (9 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.49: +14 -12 lines
Diff to previous 1.49 (colored)

Deal with rootshell not being maintained correctly in the vfork() case.
Propagate isroot, throughout the eval process and maintain it properly.
Fixes sleep 10 | cat^C not exiting because sleep and cat ended up in
their own process groups, because wasroot was always true in the children.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Sep 27 21:32:25 2002 UTC (9 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.48: +2 -7 lines
Diff to previous 1.48 (colored)

Clean up INTOFF/INTON usage a little -- none of fork{shell,parent,child}()
screw with them now, only their callers.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Sep 27 21:04:08 2002 UTC (9 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.47: +6 -6 lines
Diff to previous 1.47 (colored)

off by one in nprocs.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Sep 27 18:56:53 2002 UTC (9 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.46: +160 -87 lines
Diff to previous 1.46 (colored)

VFork()ing shell: From elric@netbsd.org:
Plus my changes:
	- walking process group fix in foregrounding a job.
	- reset of process group in parent shell if interrupted before the wait.
	- move INTON lower in the dowait so that the job structure is
	  consistent.
	- error check all setpgid(), tcsetpgrp() calls.
	- eliminate unneeded strpgid() call.
	- check that we don't belong in the process group before we try to
	  set it.

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 15 16:33:35 2002 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.45: +4 -2 lines
Diff to previous 1.45 (colored)

implement noclobber. From Ben Harris, with minor tweaks from me. Two
unimplemented comments to go. Go Ben!

Revision 1.45 / (download) - annotate - [select for diffs], Wed Apr 10 15:52:07 2002 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.44: +11 -4 lines
Diff to previous 1.44 (colored)

Try harder to find a tty.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 3 14:30:44 2002 UTC (10 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.43: +59 -37 lines
Diff to previous 1.43 (colored)

PR/16174: Matthias Buelow: Job control fails on jobs that fd == 2 does not
point to a tty.

Unfortunately the shell assumed that it could do all process group
handling ioctls to fd=2, but this is not correct. Jobs that redirected
fd=2 would be unable to perform the ioctls and silently fail since
the error reporting channel is fd=2... Instead open /dev/tty set
it to close on exec, and use that instead (like all other shells
do). We don't handle the case where the OS does not provide FD_CLOEXEC
or FIOCLEX, because I am lazy.

While I am there:
- Simplify the code by defining functions for tc{g,s}pgrp when OLD_TTY_DRIVER
  is defined.
- make sure that 'sh &' works by stopping itself. Don't kill the shell's
  process group, kill the shell itself.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Wed Mar 27 20:37:38 2002 UTC (10 years, 2 months ago) by elric
Branch: ELRICshvfork
Changes since 1.43: +103 -78 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Doing the vfork work on ash on a branch to try to shake out the
problems before I expose everyone to them.  This checkin represents
a merge of the prior work, which I backed out a while ago, to the
HEAD only and does not incorporate any additional bugfixes.  The
additional bugfixes and code-cleanup will occur in later checkins.

For reference the patches that were used are:
cvs diff -kk -r1.51 -r1.55 eval.c  | patch
cvs diff -kk -r1.27 -r1.28 exec.c  | patch
cvs diff -kk -r1.15 -r1.16 exec.h  | patch
cvs diff -kk -r1.32 -r1.33 input.c | patch
cvs diff -kk -r1.10 -r1.11 input.h | patch
cvs diff -kk -r1.32 -r1.35 jobs.c  | patch
cvs diff -kk -r1.9  -r1.11 jobs.h  | patch
cvs diff -kk -r1.36 -r1.37 main.c  | patch
cvs diff -kk -r1.20 -r1.21 redir.c | patch
cvs diff -kk -r1.10 -r1.11 redir.h | patch
cvs diff -kk -r1.10 -r1.12 shell.h | patch
cvs diff -kk -r1.22 -r1.23 trap.c  | patch
cvs diff -kk -r1.12 -r1.13 trap.h  | patch
cvs diff -kk -r1.23 -r1.24 var.c   | patch
cvs diff -kk -r1.16 -r1.17 var.h   | patch

All other changes were simply the resolution of the resulting
conflicts, which occured only in the merge of jobs.c.

Begins to address PR: bin/5475

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 22 19:50:42 2002 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: ELRICshvfork-base
Branch point for: ELRICshvfork
Changes since 1.42: +6 -4 lines
Diff to previous 1.42 (colored)

PR/16010: Andreas Gustafsson: wait is not interruptible.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 12 03:45:02 2002 UTC (10 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.41: +7 -5 lines
Diff to previous 1.41 (colored)

In forkshell() don't free the current job.  Fixes problem with previous
commit where pipeline commands didn't inherit the correct process group.
Reviewed by Christos.

Change a trace format string arg to use %p instead of %x and a long cast.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Mar 12 00:44:16 2002 UTC (10 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.40: +6 -3 lines
Diff to previous 1.40 (colored)

PR/15877: Ed Ravin: make sure that we cleanup enough of the job structure,
in jobfree() so that we don't fail when we use a malloc where free() trashes
freed memory.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 16 16:34:23 2001 UTC (10 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Spell 'occurred' with two 'r's.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Sep 13 21:33:05 2001 UTC (10 years, 8 months ago) by assar
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

(waitproc): handle jp == NULL, it happens

Revision 1.38 / (download) - annotate - [select for diffs], Mon Sep 10 15:47:03 2001 UTC (10 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.37: +9 -9 lines
Diff to previous 1.37 (colored)

Don't wait with UNTRACED for jobs that have not been started with job control
(i.e. processes started from shell scripts). Fixes problem where kill -STOP'ing
a subprocess of a shell script would cause the shell to proceed to the next
command.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Jun 13 08:48:06 2001 UTC (10 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

fix grammar

Revision 1.36 / (download) - annotate - [select for diffs], Mon May 22 10:18:47 2000 UTC (12 years ago) by elric
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.35: +75 -103 lines
Diff to previous 1.35 (colored)

Back out previous vfork changes.

Revision 1.35 / (download) - annotate - [select for diffs], Mon May 15 03:42:48 2000 UTC (12 years ago) by elric
Branch: MAIN
Changes since 1.34: +5 -3 lines
Diff to previous 1.34 (colored)

INTON and FORCEINTON modify global variables, and so should not be
executed while we are vforked.

Revision 1.34 / (download) - annotate - [select for diffs], Sat May 13 20:59:41 2000 UTC (12 years ago) by elric
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Unused variable pgrp on line 576.

Revision 1.33 / (download) - annotate - [select for diffs], Sat May 13 20:50:15 2000 UTC (12 years ago) by elric
Branch: MAIN
Changes since 1.32: +101 -74 lines
Diff to previous 1.32 (colored)

Now we use vfork(2) instead of fork(2) when we can.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sat Oct 9 21:27:31 1999 UTC (12 years, 7 months ago) by cgd
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.29.2.1: +16 -13 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

pull up rev 1.32 from trunk (requested by mycroft):
  Allow the tty interrupt character (e.g. ^C) to interrupt loops run
  in an interactive shell again.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 31 08:58:47 1999 UTC (12 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.31: +16 -13 lines
Diff to previous 1.31 (colored)

It turns out that the code disabled in revision 1.30 *does* have an important
function (which nobody was able to explain): it's critical to allowing a
complex command run from an interactive shell to be terminated.  So, reinstate
it and fix it correctly.  See the comment if you really want the gory details.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jul 9 03:05:50 1999 UTC (12 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.30: +8 -7 lines
Diff to previous 1.30 (colored)

compile with WARNS = 2

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Apr 19 04:07:53 1999 UTC (13 years, 1 month ago) by mycroft
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Changes since 1.29: +11 -3 lines
Diff to previous 1.29 (colored)

Pull up rev 1.30:
Disable bogus-looking code that cause us to throw away SIGINTs.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 5 14:59:35 1999 UTC (13 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.29: +11 -3 lines
Diff to previous 1.29 (colored)

Disable bogus-looking code that cause us to throw away SIGINTs.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 4 16:17:39 1999 UTC (13 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored)

PR/4966: Joel Reicher: Implement <> redirections which are documented in
the man page.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 28 11:41:55 1998 UTC (13 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored)

Be more retentive about use of NOTREACHED and noreturn.

Revision 1.27 / (download) - annotate - [select for diffs], Wed May 20 00:31:11 1998 UTC (14 years ago) by christos
Branch: MAIN
Changes since 1.26: +7 -5 lines
Diff to previous 1.26 (colored)

cast pid's to longs for OS's where this is the case.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Fri May 8 06:01:04 1998 UTC (14 years ago) by mycroft
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002
Changes since 1.23: +11 -7 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with trunk, per request of christos.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 7 10:16:04 1998 UTC (14 years, 1 month ago) by fair
Branch: MAIN
Changes since 1.25: +9 -6 lines
Diff to previous 1.25 (colored)

Change a few things to reference /usr/include/paths.h instead of local
references. Fixing the default PATH is a bit more effort.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 4 23:49:25 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

Sigh, have to cast pointer diffs to long.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 4 20:10:16 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Fix printf formats so they work on the Alpha.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 8 20:31:52 1997 UTC (14 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.22: +43 -35 lines
Diff to previous 1.22 (colored)

PR/3662: David Holland: Make /bin/sh use the symbolic macros for wait().

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jul 4 21:02:04 1997 UTC (14 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Fix compiler warnings.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Sun Jan 26 04:57:23 1997 UTC (15 years, 4 months ago) by rat
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-PATCH001
Changes since 1.17: +53 -21 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Update /bin/sh from trunk per request of Christos Zoulas.  Fixes
many bugs.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 11 02:04:36 1997 UTC (15 years, 4 months ago) by tls
Branch: MAIN
Changes since 1.20: +9 -9 lines
Diff to previous 1.20 (colored)

kill 'register'

Revision 1.20 / (download) - annotate - [select for diffs], Sat Nov 2 18:26:04 1996 UTC (15 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Fix problems that gcc -Wall found (from Todd Miller, OpenBSD)

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 16 14:42:20 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.18: +19 -14 lines
Diff to previous 1.18 (colored)

PR/2808: Don't include <sgtty.h> unless OLD_TTY_DRIVER is defined.
         Remove extraneous newline from error messages.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 17 14:44:05 1996 UTC (15 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +29 -2 lines
Diff to previous 1.17 (colored)

ioctl(TIOC[GS]PGRP) -> tc[gs]etpgrp()

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 4 16:26:45 1995 UTC (16 years, 10 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-BETA, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: netbsd-1-2
Changes since 1.16: +6 -2 lines
Diff to previous 1.16 (colored)

Relocate pointers after re-allocation of the job table.

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 11 21:29:18 1995 UTC (17 years ago) by christos
Branch: MAIN
Changes since 1.15: +27 -29 lines
Diff to previous 1.15 (colored)

Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 21 09:09:17 1995 UTC (17 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.14: +7 -2 lines
Diff to previous 1.14 (colored)

convert to new RCS id conventions.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 23 13:24:41 1994 UTC (17 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 (colored)

be more careful with casts.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 4 07:12:15 1994 UTC (17 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.12: +40 -13 lines
Diff to previous 1.12 (colored)

from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch
some of the worst style errors.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 23 11:28:42 1994 UTC (17 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Eliminate uses of some obsolete functions.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 11 16:12:01 1994 UTC (17 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Add RCS ids.

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 12 16:32:42 1994 UTC (18 years ago) by jtc
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

POSIX.1 changed getpgrp

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 12 16:09:11 1994 UTC (18 years ago) by jtc
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Use libc's sys_siglist[] instead of building and using our own array of
signal names. (from charles)

Revision 1.8 / (download) - annotate - [select for diffs], Wed May 11 17:10:06 1994 UTC (18 years ago) by jtc
Branch: MAIN
Changes since 1.7: +58 -32 lines
Diff to previous 1.7 (colored)

sync with 4.4lite

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed May 11 17:01:51 1994 UTC (18 years ago) by jtc
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +50 -20 lines
Diff to previous 1.1.1.1 (colored)

44lite code

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 6 21:50:16 1993 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +9 -9 lines
Diff to previous 1.6 (colored)

Use sys_signame[].

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 1 18:58:14 1993 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Add RCS identifiers.

Revision 1.5 / (download) - annotate - [select for diffs], Sun May 2 01:28:41 1993 UTC (19 years ago) by sef
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.4: +6 -3 lines
Diff to previous 1.4 (colored)

Jim "wilson@moria.cygnus.com" Wilson's patches to make C News (and other
things) work.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 26 06:09:17 1993 UTC (19 years, 1 month ago) by dpassage
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Removed a cast that was causing another stoopid compile error.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 23 00:28:11 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1, netbsd-0-8
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

changed "Id" to "Header" for rcsids

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 08:04:00 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

added rcs ids to all files

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>