Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/find Add 'h' to optstring. Fixes PR 7492 from Tom T...



details:   https://anonhg.NetBSD.org/src/rev/a06f2786d068
branches:  trunk
changeset: 472397:a06f2786d068
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Apr 29 02:23:58 1999 +0000

description:
Add 'h' to optstring.  Fixes PR 7492 from Tom Trebisky.

diffstat:

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

diffs (27 lines):

diff -r dddf9b7c267b -r a06f2786d068 usr.bin/find/main.c
--- a/usr.bin/find/main.c       Thu Apr 29 02:17:43 1999 +0000
+++ b/usr.bin/find/main.c       Thu Apr 29 02:23:58 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.10 1998/02/10 21:52:51 cgd Exp $    */
+/*     $NetBSD: main.c,v 1.11 1999/04/29 02:23:58 simonb Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993, 1994
@@ -43,7 +43,7 @@
 #else
 __COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\n\
        The Regents of the University of California.  All rights reserved.\n");
-__RCSID("$NetBSD: main.c,v 1.10 1998/02/10 21:52:51 cgd Exp $");
+__RCSID("$NetBSD: main.c,v 1.11 1999/04/29 02:23:58 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -86,7 +86,7 @@
        p = start = alloca(argc * sizeof (char *));
 
        ftsoptions = FTS_NOSTAT | FTS_PHYSICAL;
-       while ((ch = getopt(argc, argv, "HLPXdf:x")) != EOF)
+       while ((ch = getopt(argc, argv, "HLPXdf:hx")) != EOF)
                switch(ch) {
                case 'H':
                        ftsoptions |= FTS_COMFOLLOW;



Home | Main Index | Thread Index | Old Index