Subject: bin/13008: chat doesn't accept the -E option
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/22/2001 23:46:35
>Number:         13008
>Category:       bin
>Synopsis:       chat incorrectly ignores the -E option
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 22 23:47:00 PDT 2001
>Originator:     Steven M. Bellovin
>Release:        1.5.1b2 (also 1.5.1b1, and I think -current)
AT&T Labs Research
System: NetBSD 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (BERKSHIRE) #2: Thu May 17 16:54:05 EDT 2001 i386

	Run 'chat' with -E -- it fails
	see above
	The problem is that 'E' is missing from the getopt string.
	The fix is fairly obvious....

	RCS file: /cvsroot/basesrc/usr.sbin/pppd/chat/chat.c,v
	retrieving revision
	diff -r1.18.8.2 chat.c
	<     while ((option = getopt(argc, argv, ":evVf:t:r:sST:U:")) != -1) {
	>     while ((option = getopt(argc, argv, ":eEvVf:t:r:sST:U:")) != -1) {