Subject: CVS commit: src/bin
To: None <source-changes@NetBSD.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: source-changes
Date: 08/04/2003 22:31:26
Module Name: src
Committed By: jschauma
Date: Mon Aug 4 22:31:26 UTC 2003
Modified Files:
src/bin/cat: cat.c
src/bin/chio: chio.c
src/bin/chmod: chmod.c
src/bin/cp: cp.c extern.h utils.c
src/bin/date: date.c
src/bin/dd: args.c conv.c dd.c extern.h misc.c position.c
src/bin/echo: echo.c
src/bin/kill: kill.c
src/bin/ln: ln.c
src/bin/mkdir: mkdir.c
src/bin/mv: mv.c
src/bin/pwd: pwd.c
src/bin/rm: rm.c
src/bin/rmdir: rmdir.c
Log Message:
As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 src/bin/cat/cat.c
cvs rdiff -r1.19 -r1.20 src/bin/chio/chio.c
cvs rdiff -r1.28 -r1.29 src/bin/chmod/chmod.c
cvs rdiff -r1.32 -r1.33 src/bin/cp/cp.c
cvs rdiff -r1.6 -r1.7 src/bin/cp/extern.h
cvs rdiff -r1.23 -r1.24 src/bin/cp/utils.c
cvs rdiff -r1.35 -r1.36 src/bin/date/date.c
cvs rdiff -r1.21 -r1.22 src/bin/dd/args.c
cvs rdiff -r1.14 -r1.15 src/bin/dd/conv.c src/bin/dd/misc.c
cvs rdiff -r1.29 -r1.30 src/bin/dd/dd.c
cvs rdiff -r1.13 -r1.14 src/bin/dd/extern.h
cvs rdiff -r1.12 -r1.13 src/bin/dd/position.c
cvs rdiff -r1.9 -r1.10 src/bin/echo/echo.c
cvs rdiff -r1.21 -r1.22 src/bin/kill/kill.c
cvs rdiff -r1.21 -r1.22 src/bin/ln/ln.c
cvs rdiff -r1.29 -r1.30 src/bin/mkdir/mkdir.c
cvs rdiff -r1.29 -r1.30 src/bin/mv/mv.c
cvs rdiff -r1.14 -r1.15 src/bin/pwd/pwd.c
cvs rdiff -r1.34 -r1.35 src/bin/rm/rm.c
cvs rdiff -r1.17 -r1.18 src/bin/rmdir/rmdir.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.