Subject: PR/32402 CVS commit: src/usr.bin/pr
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 12/28/2005 21:30:02
The following reply was made to PR bin/32402; it has been noted by GNATS.

From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32402 CVS commit: src/usr.bin/pr
Date: Wed, 28 Dec 2005 21:29:16 +0000 (UTC)

 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.