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/find pull up rev 1.12 from trunk. (cgd)
details: https://anonhg.NetBSD.org/src/rev/6fae448a63c7
branches: netbsd-1-4
changeset: 469248:6fae448a63c7
user: cgd <cgd%NetBSD.org@localhost>
date: Fri Aug 20 05:43:18 1999 +0000
description:
pull up rev 1.12 from trunk. (cgd)
diffstat:
usr.bin/find/extern.h | 4 +++-
usr.bin/find/find.h | 11 ++++++++---
2 files changed, 11 insertions(+), 4 deletions(-)
diffs (70 lines):
diff -r 021d069df1c5 -r 6fae448a63c7 usr.bin/find/extern.h
--- a/usr.bin/find/extern.h Fri Aug 20 05:39:36 1999 +0000
+++ b/usr.bin/find/extern.h Fri Aug 20 05:43:18 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.11 1999/01/16 13:27:30 simonb Exp $ */
+/* $NetBSD: extern.h,v 1.11.2.1 1999/08/20 05:43:18 cgd Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -61,6 +61,7 @@
PLAN *c_fstype __P((char ***, int));
PLAN *c_group __P((char ***, int));
PLAN *c_inum __P((char ***, int));
+PLAN *c_iregex __P((char ***, int));
PLAN *c_links __P((char ***, int));
PLAN *c_ls __P((char ***, int));
PLAN *c_mmin __P((char ***, int));
@@ -75,6 +76,7 @@
PLAN *c_print0 __P((char ***, int));
PLAN *c_printx __P((char ***, int));
PLAN *c_prune __P((char ***, int));
+PLAN *c_regex __P((char ***, int));
PLAN *c_size __P((char ***, int));
PLAN *c_type __P((char ***, int));
PLAN *c_user __P((char ***, int));
diff -r 021d069df1c5 -r 6fae448a63c7 usr.bin/find/find.h
--- a/usr.bin/find/find.h Fri Aug 20 05:39:36 1999 +0000
+++ b/usr.bin/find/find.h Fri Aug 20 05:43:18 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: find.h,v 1.11 1999/01/16 13:27:30 simonb Exp $ */
+/* $NetBSD: find.h,v 1.11.2.1 1999/08/20 05:43:22 cgd Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -38,14 +38,17 @@
* from: @(#)find.h 8.1 (Berkeley) 6/6/93
*/
+#include <regex.h>
+
/* node type */
enum ntype {
N_AND = 1, /* must start > 0 */
N_AMIN, N_ATIME, N_CLOSEPAREN, N_CMIN, N_CTIME, N_DEPTH, N_EXEC,
- N_EXPR, N_FLAGS, N_FOLLOW, N_FSTYPE, N_GROUP, N_INUM, N_LINKS, N_LS,
+ N_EXPR, N_FLAGS, N_FOLLOW, N_FSTYPE, N_GROUP, N_INUM, N_IREGEX,
+ N_LINKS, N_LS,
N_MMIN, N_MTIME, N_NAME, N_NEWER, N_NOGROUP, N_NOT, N_NOUSER, N_OK,
N_OPENPAREN, N_OR, N_PATH, N_PERM, N_PRINT, N_PRINT0, N_PRINTX,
- N_PRUNE, N_SIZE, N_TYPE, N_USER, N_XDEV,
+ N_PRUNE, N_REGEX, N_SIZE, N_TYPE, N_USER, N_XDEV,
};
/* node definition */
@@ -80,6 +83,7 @@
} ex;
char *_a_data[2]; /* array of char pointers */
char *_c_data; /* char pointer */
+ regex_t _regexp_data; /* compiled regexp */
} p_un;
} PLAN;
#define a_data p_un._a_data
@@ -97,6 +101,7 @@
#define e_argv p_un.ex._e_argv
#define e_orig p_un.ex._e_orig
#define e_len p_un.ex._e_len
+#define regexp_data p_un._regexp_data
typedef struct _option {
char *name; /* option name */
Home |
Main Index |
Thread Index |
Old Index