Home | History | Annotate | Download | only in csh
History log of /src/bin/csh/proc.c
RevisionDateAuthorComments
 1.44  05-Jul-2025  mlelstv Indentation.
 1.43  20-Mar-2025  buhrow Cause jobs -l to actually show process ID's again.
Thanks to rvp for the initial patch.
See: http://mail-index.NetBSD.org/current-users/2025/03/17/msg046284.html
for the full discussion of this fix.
-Brian
 1.42  16-Sep-2021  christos provide a way to reset setproctitle.
 1.41  11-Sep-2021  christos like zsh, have jobs -Z do setproctitle
 1.40  09-Aug-2020  dholland Don't cast the value returned from *malloc. No change to compiler output.
 1.39  03-Apr-2020  joerg Don't depend on common declarations.
 1.38  05-Jan-2019  christos Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"
 1.37  05-Jan-2019  maya Remove Free, s/xfree/free/.

Standard C says that free should be a no-op for a NULL pointer, so
we don't need an extra function to do this.

While here, add an XXX about a wrong sounding comment
 1.36  16-Jul-2013  christos branches: 1.36.26; 1.36.28;
WARNS=6 [-Wconversion]
 1.35  09-Nov-2011  christos branches: 1.35.6;
sync with /usr/bin/time, use CLOCK_MONOTONIC
 1.34  16-Jul-2007  christos branches: 1.34.34;
no need to have cshbool; just make them int
 1.33  16-Jul-2007  christos PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small
int.
 1.32  16-Jul-2007  dogcow Rename bool -> cshbool; despite the name, bool actually holds values other
than 0 or 1. Fixes PR/36650.
 1.31  10-Jul-2007  dogcow exposure of bool elsewhere in the code requires the addition of stdbool;
in addition, proc.c cleverly has a variable that was initially defined "int",
but had in the actual declaration "bool". oops.
 1.30  24-Feb-2007  matt No functional changes. Cleanup time printing code so it can be used
elsewhere in the tree.
 1.29  26-Jun-2005  christos sprinkle a little const, and now everything compiles with WARNS=3
 1.28  19-Sep-2003  itojun make signal range check consistent.
 1.27  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.26  08-Feb-2003  christos use strtol() for better error handling in builtin kill (Peter Jeremy)
 1.25  16-Jan-2003  kleink Rename `sigset' locals to avoid symbol shadowing warning.
 1.24  25-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.23  03-Nov-2001  lukem fix WARNS=2
 1.22  14-Sep-2001  wiz ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
with some fixes by me.
 1.21  06-Jan-2001  christos eliminate nested extern decls.
 1.20  19-May-1999  kleink Remove a bogus whitespace match in the builtin kill(1)'s `-s' parsing;
noticed by Chris Demetriou.
 1.19  09-May-1999  cgd fix incorrect operation caused by the previous checkin.
 1.18  08-May-1999  christos Fix unaligned access memory problem introduced from the -s fix.
 1.17  19-Mar-1999  christos branches: 1.17.2;
- don't use union wait
- printf portability
- add braces for gcc-2.8.1
 1.16  11-Dec-1998  kleink Built-in kill: also accept symbolic signal names prefixed with "SIG".
 1.15  28-Jul-1998  mycroft Be more retentive about use of NOTREACHED and noreturn.
 1.14  28-Jul-1998  mycroft Delint (partially).
 1.13  28-Jul-1998  mycroft Delint (partially).
 1.12  10-May-1998  kleink * Add support for POSIX "kill [-s signame] pid" syntax; actually fixes PR 5327.
* Complete the "kill -l [exitstatus]" syntax.
* Sync with the documentation and no longer permit the use of full signal
names in the "kill [-sig] pid" syntax, e.g. -SIGHUP.
 1.11  04-Jul-1997  christos Rename err.h to errnum.h to avoid collision with err.h
Fix compiler warnings.
 1.10  13-Jan-1997  tls kill register
 1.9  29-Apr-1995  mycroft Use POSIX signal semantics. Change p_pid and p_jobid to pid_t's.
 1.8  21-Mar-1995  mycroft Use POSIX signals.
 1.7  21-Mar-1995  mycroft Update to use timer{add,sub}().
 1.6  21-Mar-1995  cgd convert to new RCS id conventions.
 1.5  21-Sep-1994  mycroft Merge 4.4-Lite version.
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2  22-Mar-1993  cgd added rcs ids to all files
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  20-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.17.2.1  21-Jun-1999  perry pullup 1.17->1.20 (cgd): fix potential memory corruption with "kill" builtin
 1.34.34.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.34.34.1  10-Nov-2011  yamt sync with head
 1.35.6.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.36.28.4  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.36.28.3  21-Apr-2020  martin Sync with HEAD
 1.36.28.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.36.28.1  10-Jun-2019  christos Sync with HEAD
 1.36.26.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed