diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-21 13:24:58 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-21 13:24:58 +0000 |
commit | 9c69d76608d1689460671e7feac3f34917728a85 (patch) | |
tree | 33ba50881b34dcb0732763d0359ca9a50bdef99a /include/xregex.h | |
parent | e99be6e4a58561eb7521c57148ec65ba0d87dd7b (diff) | |
download | busybox-w32-9c69d76608d1689460671e7feac3f34917728a85.tar.gz busybox-w32-9c69d76608d1689460671e7feac3f34917728a85.tar.bz2 busybox-w32-9c69d76608d1689460671e7feac3f34917728a85.zip |
less: stop dying on bad regexps, quietly pipe data w/o
user interaction if stdout is not a tty.
size optimizations
git-svn-id: svn://busybox.net/trunk/busybox@17028 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include/xregex.h')
-rw-r--r-- | include/xregex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xregex.h b/include/xregex.h index 4185818a8..23cf19c02 100644 --- a/include/xregex.h +++ b/include/xregex.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #define __BB_REGEX__ | 12 | #define __BB_REGEX__ |
13 | 13 | ||
14 | #include <regex.h> | 14 | #include <regex.h> |
15 | extern void xregcomp(regex_t *preg, const char *regex, int cflags); | 15 | char* regcomp_or_errmsg(regex_t *preg, const char *regex, int cflags); |
16 | void xregcomp(regex_t *preg, const char *regex, int cflags); | ||
16 | 17 | ||
17 | #endif | 18 | #endif |