Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/col pull up rev 1.11 from trunk (requested by t...



details:   https://anonhg.NetBSD.org/src/rev/2e325c723ac0
branches:  netbsd-1-4
changeset: 469478:2e325c723ac0
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Sep 24 03:48:00 1999 +0000

description:
pull up rev 1.11 from trunk (requested by tron):
  Fix incorrect option string used in call to getopt(3).  Fixes PR#8475.

diffstat:

 usr.bin/col/col.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ea66f1ea9e9f -r 2e325c723ac0 usr.bin/col/col.c
--- a/usr.bin/col/col.c Thu Sep 23 02:17:13 1999 +0000
+++ b/usr.bin/col/col.c Fri Sep 24 03:48:00 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: col.c,v 1.10 1999/02/22 22:16:01 kleink Exp $  */
+/*     $NetBSD: col.c,v 1.10.2.1 1999/09/24 03:48:00 cgd Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993, 1994
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)col.c      8.5 (Berkeley) 5/4/95";
 #endif
-__RCSID("$NetBSD: col.c,v 1.10 1999/02/22 22:16:01 kleink Exp $");
+__RCSID("$NetBSD: col.c,v 1.10.2.1 1999/09/24 03:48:00 cgd Exp $");
 #endif /* not lint */
 
 #include <ctype.h>
@@ -137,7 +137,7 @@
        max_bufd_lines = 128;
        compress_spaces = 1;            /* compress spaces into tabs */
        pass_unknown_seqs = 0;          /* remove unknown escape sequences */
-       while ((opt = getopt(argc, argv, "bfhlp:x")) != -1)
+       while ((opt = getopt(argc, argv, "bfhl:px")) != -1)
                switch (opt) {
                case 'b':               /* do not output backspaces */
                        no_backspaces = 1;



Home | Main Index | Thread Index | Old Index