Subject: CVS commit: src/usr.bin/pr
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 12/28/2005 21:29:16
Module Name:	src
Committed By:	christos
Date:		Wed Dec 28 21:29:16 UTC 2005

Modified Files:
	src/usr.bin/pr: pr.c

Log Message:
PR/32402: Jeffrey Bedard: pr filter dumps core with -s option specified,
when -s is specified with no argument. Option arguments in pr (as documented)
need to immediately follow the option. For example to set the separator char
to `.' you need to use "pr -s." instread of "pr -s .". The second form sets
the separator character to tab, and reads from file `.'. Coredumping is wrong
anyway, so fix that. Grr to POSIX for not forcing pr and a few other utilities
to use getopt(3).
cvs: ----------------------------------------------------------------------


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/usr.bin/pr/pr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.