CVS commit: src/bin/csh

2021-08-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 15 12:16:02 UTC 2021 Modified Files: src/bin/csh: set.c Log Message: Turn on EL_SAFEREAD To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/bin/csh/set.c Please note that diffs are not public domain; th

CVS commit: src/bin/sh

2021-08-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 15 11:57:17 UTC 2021 Modified Files: src/bin/sh: Makefile Log Message: Add -I to find filecomplete.h To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/bin/sh/Makefile Please note that diffs are not p

CVS commit: src/bin/kill

2021-08-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 15 10:58:04 UTC 2021 Modified Files: src/bin/kill: kill.1 Log Message: restore a bit of history. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/bin/kill/kill.1 Please note that diffs are not public

CVS commit: src/bin/sh

2021-08-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 15 10:17:55 UTC 2021 Modified Files: src/bin/sh: histedit.c myhistedit.h Log Message: - Add command completion (from FreeBSD) - Use EL_SAFEREAD To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/bin/sh/h

CVS commit: src/bin/sh

2021-08-09 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 9 11:29:30 UTC 2021 Modified Files: src/bin/sh: var.c Log Message: Fix the fix to a typo in one of the comments. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/bin/sh/var.c Please note that diffs are no

CVS commit: src/bin/ps

2021-06-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jun 4 22:39:41 UTC 2021 Modified Files: src/bin/ps: ps.c Log Message: use parsenum like everywhere else in the code. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/bin/ps/ps.c Please note that diffs ar

CVS commit: src/bin/ps

2021-06-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jun 4 08:17:53 UTC 2021 Modified Files: src/bin/ps: ps.c Log Message: Sort options in usage. To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/bin/ps/ps.c Please note that diffs are not public domain; they are

CVS commit: src/bin/ps

2021-06-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jun 4 08:16:14 UTC 2021 Modified Files: src/bin/ps: ps.1 Log Message: Sort options in synopsis. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/bin/ps/ps.1 Please note that diffs are not public domain; the

CVS commit: src/bin/ps

2021-06-03 Thread Chris Pinnock
Module Name:src Committed By: cjep Date: Fri Jun 4 06:28:42 UTC 2021 Modified Files: src/bin/ps: ps.1 ps.c Log Message: PR standards/11223 Add -G to take a single group argument heading towards POSIX.2 compliance. Patch from jperkin and reviewed by simonb. To generate

CVS commit: src/bin/sh

2021-05-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 26 20:21:52 UTC 2021 Modified Files: src/bin/sh: Makefile Log Message: Use the date tool To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/bin/sh/Makefile Please note that diffs are not public domain

CVS commit: src/bin/date

2021-05-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 26 20:19:51 UTC 2021 Modified Files: src/bin/date: Makefile date.c Log Message: tool changes To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/bin/date/Makefile cvs rdiff -u -r1.61 -r1.62 src/bin/date/d

CVS commit: src/bin/echo

2021-05-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 19 22:12:36 UTC 2021 Modified Files: src/bin/echo: echo.c Log Message: Catch up with /bin/sh built-in echo ... if a write error occurs, don't just exit(1), write an error message to stderr as well (required for POSIX conforma

CVS commit: src/bin/sh/bltin

2021-05-18 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue May 18 21:39:06 UTC 2021 Modified Files: src/bin/sh/bltin: bltin.h echo.c Log Message: Fix a bug in the built-in echo in /bin/sh reported in private mail by Oguz If echo detects an I/O error, it does exit(1) (that's fine) but t

CVS commit: src/bin/dd

2021-05-18 Thread Nia Alarie
Module Name:src Committed By: nia Date: Tue May 18 07:17:09 UTC 2021 Modified Files: src/bin/dd: dd.1 Log Message: dd.1: add an example of writing a NetBSD image To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/bin/dd/dd.1 Please note that diffs are not

CVS commit: src/bin/ps

2021-04-17 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sat Apr 17 08:35:33 UTC 2021 Modified Files: src/bin/ps: print.c Log Message: Remove SCCS workaround. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135 src/bin/ps/print.c Please note that diffs are

CVS commit: src/bin/ps

2021-04-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 6 13:35:52 UTC 2021 Modified Files: src/bin/ps: print.c Log Message: - dedup code - add a safe_strftime() to handle error cases To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/bin/ps/print.c Pleas

CVS commit: src/bin/ps

2021-04-05 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Apr 6 05:13:24 UTC 2021 Modified Files: src/bin/ps: print.c Log Message: Fix the column width calculation for the lstart column if an empty column header is specified. Fixes bug pointed out by Ted Spradley in https://mail-in

CVS commit: src/bin/ps

2021-04-05 Thread Simon Burge
Module Name:src Committed By: simonb Date: Tue Apr 6 04:49:41 UTC 2021 Modified Files: src/bin/ps: Makefile Log Message: We only need -Wno-format-y2k for print.c . To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/bin/ps/Makefile Please note that diffs

CVS commit: src/bin/sh

2021-04-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Apr 4 13:24:07 UTC 2021 Modified Files: src/bin/sh: eval.c jobs.c jobs.h Log Message: Related to PR bin/48875 Correct an issue found by Oguz and reported in e-mail (on the bug-bash list initially!) with the code changed to dea

CVS commit: src/bin/ksh

2021-02-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 23 01:31:30 UTC 2021 Modified Files: src/bin/ksh: siglist.sh Log Message: PR/56007: Greg A. Woods: ksh unable to execute ERR traps (probably since 2016/03/17 - i.e. 8.x and 9.x) To generate a diff of this commit: cvs r

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:26 UTC 2021 Modified Files: src/bin/sh: input.c Log Message: PR bin/55979 Correctly handle (ie: ignore completely) \0 chars (nuls) in the shell command input stream (script, dot file, or stdin). Previously nul char

CVS commit: src/bin/sh

2021-02-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 16 15:30:12 UTC 2021 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55979 This fixes the MSAN detected reference to an unitialised variable (an unitialised field in a struct) which happens when a command is not found

CVS commit: src/bin/df

2021-01-06 Thread Brian Ginsbach
Module Name:src Committed By: ginsbach Date: Wed Jan 6 20:38:09 UTC 2021 Modified Files: src/bin/df: df.1 Log Message: df: bump man page date To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/bin/df/df.1 Please note that diffs are not public domain; the

CVS commit: src/bin/df

2021-01-02 Thread Brian Ginsbach
Module Name:src Committed By: ginsbach Date: Sun Jan 3 01:43:13 UTC 2021 Modified Files: src/bin/df: df.1 df.c Log Message: df: add grand total option Add a grand total option, -c, similar to the du(1) -c option. Adapted from the same option (-c) in FreeBSD df(1). To g

CVS commit: src/bin/csh

2020-10-17 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Oct 17 08:46:02 UTC 2020 Modified Files: src/bin/csh: time.c Log Message: Print real maxrss value like other shells. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/bin/csh/time.c Please note that diffs a

CVS commit: src/bin/csh

2020-10-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 2 17:33:14 UTC 2020 Modified Files: src/bin/csh: lex.c Log Message: undo previous for 'r' and 'e' modifiers; they should no go further than the last '/'. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 s

CVS commit: src/bin/csh

2020-09-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 30 17:51:10 UTC 2020 Modified Files: src/bin/csh: lex.c Log Message: Fix % set x='a/b c/d.e' % echo $x:q:h To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/bin/csh/lex.c Please note that diffs are not

CVS commit: src/bin/sh

2020-09-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Sep 18 07:21:26 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Remove superfluous Ed. To generate a diff of this commit: cvs rdiff -u -r1.228 -r1.229 src/bin/sh/sh.1 Please note that diffs are not public domain; they a

CVS commit: src/bin/sh

2020-09-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 18 06:48:28 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Correct an incorrectly quoted (unquoted, but should be) example used in the "local" built-in command description (pointed out by mrg@ via uwe@ in private e-ma

CVS commit: src/bin/kill

2020-08-30 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 30 20:14:07 UTC 2020 Modified Files: src/bin/kill: kill.1 Log Message: Mark up path with Pa and use Ev for environment variable. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/bin/kill/kill.1 Please note

CVS commit: src/bin/sh

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 19:45:05 UTC 2020 Modified Files: src/bin/sh: jobs.c Log Message: Since "struct job" gained a pgrp member some time ago now, use it instead of simply assuming that the pid of the first (leftmost) process in a pipeline is t

CVS commit: src/bin/kill

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 19:41:39 UTC 2020 Modified Files: src/bin/kill: kill.1 Log Message: Note that negative pid args are permitted (indicating to send to the pgrp abs(pid)) and indicate that -- is (strictly) needed if the first pid arg (there

CVS commit: src/bin/kill

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 19:35:10 UTC 2020 Modified Files: src/bin/kill: kill.c Log Message: Every integer that fits within a pid_t is a potential "pid" arg to kill. That means we cannot use (pid_t)-1 as an error indicator, as that's a valid pid t

CVS commit: src/bin/kill

2020-08-30 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Aug 30 16:10:40 UTC 2020 Modified Files: src/bin/kill: kill.1 kill.c Log Message: Use the POSIX specified format if POSIXLY_CORRECT is set in the environment, rather than the nicer layout that is normally used. Note this applies

CVS commit: src/bin/ps

2020-08-26 Thread Simon Burge
Module Name:src Committed By: simonb Date: Wed Aug 26 10:54:13 UTC 2020 Modified Files: src/bin/ps: nlist.c Log Message: Don't rely on the USPACE kernel define as a fallback if the vm.uspace sysctl fails. We've got bigger problems if the sysctl fail anyway. To generate

CVS commit: src/bin/sh

2020-08-25 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Aug 25 19:42:02 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Idiot typo, generated by an idiot, fixed by the same one. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/bin/sh/sh.1 Please note that

CVS commit: src/bin/df

2020-08-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Aug 21 16:41:06 UTC 2020 Modified Files: src/bin/df: df.c Log Message: - Bump Size/Used/Avail from 10 to 12, and iUsed/iAvail from 8 to 10 for double-digit terabyte storage. - set the field width to the optimal, if "-h" is speci

CVS commit: src/bin/df

2020-08-21 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Aug 21 16:40:02 UTC 2020 Modified Files: src/bin/df: df.c Log Message: field width of blocksize and inode can be changed by #define To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/bin/df/df.c Please note that

CVS commit: src/bin/sh

2020-08-21 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Aug 21 08:14:45 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Remove unmatched .El and mark up signal name with Dv. To generate a diff of this commit: cvs rdiff -u -r1.225 -r1.226 src/bin/sh/sh.1 Please note that diff

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:19:34 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Man page enhancements. Better describe the command search procedure. Document "trap -P" Describe what works as a function name. More accurate description of

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:09:56 UTC 2020 Modified Files: src/bin/sh: eval.c trap.c Log Message: Be less conservative about when we do clear_traps() when we have traps_invalid (that is, when we actually nuke the parent shell's caught traps in a s

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 23:03:17 UTC 2020 Modified Files: src/bin/sh: jobs.c Log Message: Add lots of comments explaining what is happening in here. Also enhance some of the DEBUG mode trace output (nothing visible in a normal shell build). A c

CVS commit: src/bin/sh

2020-08-20 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 20 16:15:50 UTC 2020 Modified Files: src/bin/sh: trap.c Log Message: Whitespace. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/bin/sh/trap.c Please note that diffs are not public domain; they ar

CVS commit: src/bin/sh

2020-08-19 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Aug 19 22:41:47 UTC 2020 Modified Files: src/bin/sh: parser.c Log Message: For now, probably forever, prohibit unquoted $ and ` in the names of functions being defined (they can still be included if quoted). If we parsed the way

CVS commit: src/bin/csh

2020-08-08 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Aug 9 00:53:38 UTC 2020 Modified Files: src/bin/csh: csh.c Log Message: Use the right size for several calloc calls. When allocating for a Char **, it should use sizeof(Char *), not sizeof(Char **). This doesn't actually a

CVS commit: src/bin/csh

2020-08-08 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Aug 9 00:51:13 UTC 2020 Modified Files: src/bin/csh: csh.c Log Message: Clarify some comments. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/bin/csh/csh.c Please note that diffs are not public domain;

CVS commit: src/bin/csh

2020-08-08 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Aug 9 00:34:21 UTC 2020 Modified Files: src/bin/csh: dir.c lex.c parse.c Log Message: Use the right size for several calloc calls. When allocating for a Char **, it should use sizeof(Char *), not sizeof(Char **). This does

CVS commit: src/bin/csh

2020-08-08 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Aug 9 00:22:53 UTC 2020 Modified Files: src/bin/csh: csh.c dir.c func.c lex.c parse.c proc.c Log Message: Don't cast the value returned from *malloc. No change to compiler output. To generate a diff of this commit: cvs rd

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:56:56 UTC 2020 Modified Files: src/bin/sh: expand.c Log Message: Remove a redundant set of parentheses that were added (along with a extra && or || or something ... forgotten now) as part a failed attempt to fix an earl

CVS commit: src/bin/sh

2020-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Aug 1 17:51:18 UTC 2020 Modified Files: src/bin/sh: exec.c Log Message: PR bin/55526 Fix a bug that has existed since the "command" command was added in 2003. "command foo" would cause the definition of a function "foo" to be

CVS commit: src/bin/ls

2020-07-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jul 7 14:29:07 UTC 2020 Modified Files: src/bin/ls: ls.c Log Message: Fix skipping of directories that begin with a '.' in -R mode. It is not enough to avoid displaying the contents of the directory, we need to set FTS_SKIP

CVS commit: src/bin/mv

2020-06-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 24 17:00:58 UTC 2020 Modified Files: src/bin/mv: mv.1 Log Message: Note that -h is an extension to POSIX. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/bin/mv/mv.1 Please note that dif

CVS commit: src/bin/mv

2020-06-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 24 16:58:12 UTC 2020 Modified Files: src/bin/mv: mv.1 mv.c Log Message: New mv -h option. `mv -h source target' just issues rename(source, target) without discriminating on whether target resolves to a directory; this

CVS commit: src/bin/setfacl

2020-06-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Jun 18 19:44:01 UTC 2020 Modified Files: src/bin/setfacl: setfacl.c Log Message: Sync usage with manpage. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/bin/setfacl/setfacl.c Please note that diffs are not pub

CVS commit: src/bin/setfacl

2020-06-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Jun 18 19:43:53 UTC 2020 Modified Files: src/bin/setfacl: setfacl.1 Log Message: Sort option descriptions. Sort options in SYNOPSIS. Fix xrefs. Comment out acl(9) which we don't have. To generate a diff of this commit: cvs rdif

CVS commit: src/bin/getfacl

2020-06-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Jun 18 19:36:13 UTC 2020 Modified Files: src/bin/getfacl: getfacl.1 Log Message: Fix xrefs, comment out acl(9) which we don't have. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/bin/getfacl/getfacl.1 Please n

CVS commit: src/bin/expr

2020-06-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 11 13:08:08 UTC 2020 Modified Files: src/bin/expr: expr.y Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/bin/expr/expr.y Please note that diffs are not public domain; they are sub

CVS commit: src/bin/cp

2020-05-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri May 22 14:54:30 UTC 2020 Modified Files: src/bin/cp: cp.c Log Message: fix reversed test. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/bin/cp/cp.c Please note that diffs are not public domain; they ar

CVS commit: src/bin/setfacl

2020-05-21 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri May 22 01:28:45 UTC 2020 Modified Files: src/bin/setfacl: setfacl.c Log Message: Mark usage as dead To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/bin/setfacl/setfacl.c Please note that diffs are not public

CVS commit: src/bin/getfacl

2020-05-21 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri May 22 01:28:00 UTC 2020 Modified Files: src/bin/getfacl: getfacl.c Log Message: Don't return from dead functions. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/bin/getfacl/getfacl.c Please note that diffs

CVS commit: src/bin

2020-05-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 17 23:34:11 UTC 2020 Modified Files: src/bin/cp: Makefile cp.c utils.c src/bin/ls: Makefile print.c Log Message: No ACL support for install media (SMALLPROG) To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/bin/rcp

2020-05-06 Thread Aymeric Vincent
Module Name:src Committed By: aymeric Date: Wed May 6 18:15:40 UTC 2020 Modified Files: src/bin/rcp: rcp.c Log Message: In sink(), upon error, avoid multiple replies to the source as this would lead to a desynchronization of the protocol and further files or directories t

CVS commit: src/bin/kill

2020-05-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 6 13:13:50 UTC 2020 Modified Files: src/bin/kill: kill.1 Log Message: Bump date for previous change... I frequently forget that bit. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/bin/kill/kill.1 Pleas

CVS commit: src/bin/kill

2020-05-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 6 09:07:15 UTC 2020 Modified Files: src/bin/kill: kill.1 Log Message: kill is built-in to more than just csh(1). While here, add missing Xr sh 1 (which was previously needed, moreso now) and also include STOP and CONT in the

CVS commit: src/bin/sh

2020-04-23 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 23 09:01:33 UTC 2020 Modified Files: src/bin/sh: eval.c Log Message: Stop forcing the -e option off in the subshell createds for a command substitution. This was inherited in the big "-e" fixup patch set (rev 1.50) of Jan 20

CVS commit: src/bin/csh

2020-04-03 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Apr 3 18:11:29 UTC 2020 Modified Files: src/bin/csh: csh.c csh.h dir.c dir.h proc.c proc.h Log Message: Don't depend on common declarations. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/bin/csh/csh.c cvs

CVS commit: src/bin/sh

2020-04-03 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Apr 3 16:22:23 UTC 2020 Modified Files: src/bin/sh: redir.h Log Message: Don't define max_user_fd in the header. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/bin/sh/redir.h Please note that diffs are no

CVS commit: src/bin/pax

2020-04-03 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Apr 3 16:13:32 UTC 2020 Modified Files: src/bin/pax: extern.h options.c Log Message: Move definition of chdname and do_chroot to options.c To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/bin/pax/extern.h cv

CVS commit: src/bin/echo

2020-02-25 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Feb 26 07:14:47 UTC 2020 Modified Files: src/bin/echo: echo.1 Log Message: Add some commas. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/bin/echo/echo.1 Please note that diffs are not public domain; they a

CVS commit: src/bin/echo

2020-02-25 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Feb 26 02:09:46 UTC 2020 Modified Files: src/bin/echo: echo.1 Log Message: echo.1: add a note about other echo implementations The other BSDs all have a note reminding that many shells have their own internal echo impleme

CVS commit: src/bin/sh

2020-02-20 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Thu Feb 20 18:24:21 UTC 2020 Modified Files: src/bin/sh: sh.1 Log Message: Typo: s/./,/ To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/bin/sh/sh.1 Please note that diffs are not public domain; they are su

CVS commit: src/bin/sh

2020-02-12 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 13 05:19:05 UTC 2020 Modified Files: src/bin/sh: expand.c expand.h Log Message: When expanding a here-doc (NXHERE - the type with an unquoted end delim) the output will not be further processed (at all) so there is no need to

CVS commit: src/bin/sh

2020-02-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Feb 7 02:06:13 UTC 2020 Modified Files: src/bin/sh: jobs.c Log Message: Avoid a core dump if a child process that is not one of our children happens to exit while we are waiting for another child to exit. This can happen with c

CVS commit: src/bin/sh

2020-02-06 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Fri Feb 7 01:25:08 UTC 2020 Modified Files: src/bin/sh: main.c Log Message: bin/sh: Fixes -Werror=shadow causing build breaks. Conflicting variable name, sigset_t sigs has been renamed to sigset_t mask Reviewed by: kamil@ To gen

CVS commit: src/bin/sh

2020-02-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 6 20:08:28 UTC 2020 Modified Files: src/bin/sh: main.c Log Message: Actually, the issue with bash (in previous) is more likely that the SIGCHLD is blocked rather than ignored. We want neither. Make sure SIGCHLD is unbloc

CVS commit: src/bin/sh

2020-02-06 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Feb 6 19:51:59 UTC 2020 Modified Files: src/bin/sh: main.c Log Message: If we are invoked with SIGCHLD ignored, we fail badly, as we assume that we can always wait(2) for our children, and an ignored SIGCHLD prevents that. Rec

CVS commit: src/bin/csh

2020-02-05 Thread Santhosh Raju
Module Name:src Committed By: fox Date: Wed Feb 5 20:06:17 UTC 2020 Modified Files: src/bin/csh: sem.c Log Message: bin/csh: Fix the -Wclobber warning. Mark the variable as volatile as it can be clobbered when a vfork occurs. Error was reported when build.sh was run wit

CVS commit: src/bin/sh

2020-02-05 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Feb 5 14:56:26 UTC 2020 Modified Files: src/bin/sh: options.c Log Message: Oops, the previous didn't do what was promised. Rather that ignoring just "--" for exec & "." it ignored any first arg starting '-'. Do it properly. T

CVS commit: src/bin/sh

2020-02-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Feb 4 16:06:59 UTC 2020 Modified Files: src/bin/sh: eval.c options.c Log Message: After bug report 262 (from 2010) https://austingroupbugs.net/view.php?id=252 the Austin Group decided to require processing of "--" by the

CVS commit: src/bin/csh

2020-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 12 18:42:41 UTC 2020 Modified Files: src/bin/csh: set.c Log Message: Add file completion. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/bin/csh/set.c Please note that diffs are not public domain; t

CVS commit: src/bin/csh

2020-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 12 18:36:55 UTC 2020 Modified Files: src/bin/csh: csh.c Log Message: remove unused To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/bin/csh/csh.c Please note that diffs are not public domain; they are

CVS commit: src/bin/csh

2020-01-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 12 03:50:30 UTC 2020 Modified Files: src/bin/csh: set.c Log Message: PR/54853: Greg Oster: unable to 'unset filec' or 'unset edit' in csh While here allow set edit=vi To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/bin/sh

2019-12-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Dec 21 18:54:15 UTC 2019 Modified Files: src/bin/sh: eval.c Log Message: Use fork() rather than vfork() when forking to run a background process with redirects. If we use vfork() and a redirect hangs (eg: opening a fifo) which

CVS commit: src/bin/sh

2019-12-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Dec 10 09:18:37 UTC 2019 Modified Files: src/bin/sh: parser.c Log Message: Correct a typo in a comment, 08x0 was meant to be 0x80 (duh!). NFC. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/bin/sh/parser.c

CVS commit: src/bin/sh

2019-12-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 9 00:14:24 UTC 2019 Modified Files: src/bin/sh: eval.c Log Message: PR bin/54743 Having traps set should not enforce a fork for the next command, whatever that command happens to be, only for commands which would normally f

CVS commit: src/bin/sh

2019-12-08 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Dec 9 00:14:30 UTC 2019 Modified Files: src/bin/sh: trap.c Log Message: PR bin/54743 If a builtin command or function is the final command intended to be executed, and is interrupted by a caught signal, the trap handler for tha

CVS commit: src/bin/sh

2019-05-03 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat May 4 02:52:55 UTC 2019 Modified Files: src/bin/sh: eval.c Log Message: When a return occurs in the test part of a loop statement (while/until) (inside a function or dot script) the exit status of that return statement should be

CVS commit: src/bin/sh

2019-04-24 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 25 03:54:10 UTC 2019 Modified Files: src/bin/sh: trap.c Log Message: Better interactive SIGINT handling (when a trap is set), and other cleanups to the trap code. No longer silently ignore attempts to do anything other than

CVS commit: src/bin/pax

2019-04-24 Thread Aleksey Cheusov
Module Name:src Committed By: cheusov Date: Wed Apr 24 17:27:08 UTC 2019 Modified Files: src/bin/pax: pax.c Log Message: Fix compilation failure with gcc-8. Equal pointers to 'struct sigaction' should not be passed to sigaction(2). So, we pass NULL as an "old sigaction

CVS commit: src/bin/sh

2019-04-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Apr 22 04:10:33 UTC 2019 Modified Files: src/bin/sh: sh.1 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.222 -r1.223 src/bin/sh/sh.1 Please note that diffs are not public domain; they

CVS commit: src/bin/sh

2019-04-21 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Apr 22 04:04:36 UTC 2019 Modified Files: src/bin/sh: sh.1 Log Message: PR standards/40554 Update the description of the <& and >& redirection operators (as indicated would happen in a message appended to the PR a week ago, which

CVS commit: src/bin/sh

2019-04-15 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Mon Apr 15 20:35:25 UTC 2019 Modified Files: src/bin/sh: sh.1 Log Message: -compact must come last To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/bin/sh/sh.1 Please note that diffs are not public domain; they

CVS commit: src/bin/sh

2019-03-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 26 13:32:26 UTC 2019 Modified Files: src/bin/sh: jobs.c Log Message: Fix a logic botch that prevented "wait -n" (with no pid args) from finding a job that had previously terminated. Now in that case JOBWANTED is set on all j

CVS commit: src/bin/dd

2019-03-23 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Mar 23 09:33:16 UTC 2019 Modified Files: src/bin/dd: dd.c Log Message: When buffers are at least page sized, explicitely request page alignment. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/bin/dd/dd.c

CVS commit: src/bin/pax

2019-03-19 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Mar 20 03:13:39 UTC 2019 Modified Files: src/bin/pax: file_subs.c tar.c Log Message: pax: fix typos in comments in file_subs.c & tar.c Stamp out "greengrocers' apostrophes" in various places (arguably there are still more

CVS commit: src/bin/pax

2019-03-19 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Wed Mar 20 02:50:50 UTC 2019 Modified Files: src/bin/pax: pat_rep.c Log Message: pax: minor adjustments to comments in pat_rep.c Amend several comments to match present reality (the functionality was added back in 2007). To

CVS commit: src/bin/pax

2019-03-19 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Mar 19 10:14:46 UTC 2019 Modified Files: src/bin/pax: tar.1 Log Message: Whitespace nits. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/bin/pax/tar.1 Please note that diffs are not public domain; they are s

CVS commit: src/bin/pax

2019-03-18 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Mar 19 00:36:14 UTC 2019 Modified Files: src/bin/pax: pax.1 tar.1 Log Message: pax.1 & tar.1: add a minor clarification about "-s" As a somewhat pedantic clarification, "-s" does not accept backslashes as delimiters. (Whi

CVS commit: src/bin/pax

2019-03-18 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Mar 19 00:12:08 UTC 2019 Modified Files: src/bin/pax: pax.1 Log Message: pax.1: document the "s" flag of the "s" option Note the "s" option has an "s" flag that "prevents substitutions from being performed on symbolic lin

CVS commit: src/bin/sleep

2019-03-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Mar 10 15:18:45 UTC 2019 Modified Files: src/bin/sleep: sleep.c Log Message: Deal with overflow when the sleep duration given is a simple integer (previously it was just clamped at the max possible value). This would have caused

  1   2   3   4   5   6   7   8   9   10   >