Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pppd/chat Add `E' to getopt string, so the -E optio...



details:   https://anonhg.NetBSD.org/src/rev/6aa2b4ceb3b4
branches:  trunk
changeset: 510315:6aa2b4ceb3b4
user:      he <he%NetBSD.org@localhost>
date:      Sat May 26 21:20:28 2001 +0000

description:
Add `E' to getopt string, so the -E option is recognized.
Should fix PR#13008.

diffstat:

 usr.sbin/pppd/chat/chat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a078fd2df8ac -r 6aa2b4ceb3b4 usr.sbin/pppd/chat/chat.c
--- a/usr.sbin/pppd/chat/chat.c Sat May 26 20:55:48 2001 +0000
+++ b/usr.sbin/pppd/chat/chat.c Sat May 26 21:20:28 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: chat.c,v 1.22 2001/01/16 02:37:03 cgd Exp $    */
+/*     $NetBSD: chat.c,v 1.23 2001/05/26 21:20:28 he Exp $     */
 
 /*
  *     Chat -- a program for automatic session establishment (i.e. dial
@@ -93,7 +93,7 @@
 #if 0
 static const char rcsid[] = "Id: chat.c,v 1.26 1999/12/23 01:39:54 paulus Exp ";
 #else
-__RCSID("$NetBSD: chat.c,v 1.22 2001/01/16 02:37:03 cgd Exp $");
+__RCSID("$NetBSD: chat.c,v 1.23 2001/05/26 21:20:28 he Exp $");
 #endif
 #endif
 
@@ -273,7 +273,7 @@
     program_name = *argv;
     tzset();
 
-    while ((option = getopt(argc, argv, ":evVf:t:r:sST:U:")) != -1) {
+    while ((option = getopt(argc, argv, ":EevVf:t:r:sST:U:")) != -1) {
        switch (option) {
        case 'e':
            ++echo;



Home | Main Index | Thread Index | Old Index