diff options
author | msmith <msmith@FreeBSD.org> | 1997-06-25 08:14:24 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1997-06-25 08:14:24 +0000 |
commit | f4312c45dc5fb1b4831e63087e8563fa0fa4601f (patch) | |
tree | bfe4a6c5e19e7694273d28cb1b36a820a5ebad0d /lib/libedit/sys.h | |
parent | d2cf9d630277a4d4f8601691fb1ac28b727e417e (diff) | |
download | FreeBSD-src-f4312c45dc5fb1b4831e63087e8563fa0fa4601f.zip FreeBSD-src-f4312c45dc5fb1b4831e63087e8563fa0fa4601f.tar.gz |
Update libedit with changes from NetBSD. Includes history load/save,
some buffer overflow guards and some stylistic cleanups.
Also adds manpages.
Obtained from: NetBSD
Diffstat (limited to 'lib/libedit/sys.h')
-rw-r--r-- | lib/libedit/sys.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libedit/sys.h b/lib/libedit/sys.h index eccf30d..9e5fd0f 100644 --- a/lib/libedit/sys.h +++ b/lib/libedit/sys.h @@ -76,11 +76,12 @@ typedef char* ioctl_t; #endif #include <stdio.h> -#define REGEXEC -#undef REGEXP +#define REGEX /* Use POSIX.2 regular expression functions */ +#undef REGEXP /* Use UNIX V8 regular expression functions */ #ifdef SUNOS -# undef REGEXEC +# undef REGEX +# undef REGEXP # include <malloc.h> typedef void (*sig_t)__P((int)); # ifdef __GNUC__ |