]> mj.ucw.cz Git - libucw.git/commitdiff
Fixed accidentally modified files during the last merge.
authorPavel Charvat <pchar@ucw.cz>
Tue, 27 Jan 2009 23:52:06 +0000 (00:52 +0100)
committerPavel Charvat <pchar@ucw.cz>
Tue, 27 Jan 2009 23:52:06 +0000 (00:52 +0100)
ucw/default.cfg
ucw/regex.c

index 58f7e594c0f79ca8f77b3be24c95039ad7ef63b1..f042800fa6bd0e285e15a62013f79c0ec1387e92 100644 (file)
@@ -19,11 +19,6 @@ Set("CONFIG_LARGE_FILES");
 # Use shared libraries
 UnSet("CONFIG_SHARED");
 
-# If your system doesn't contain GNU libc 2.3 or newer, it's recommended to let Sherlock
-# use its own regex library (a copy of the glibc one), because the default regex library
-# is likely to be crappy.
-Set("CONFIG_OWN_REGEX");
-
 # If your system can't reset getopt with 'optind = 0', you need to compile our internal copy
 # of GNU libc's getopt. This should not be necessary on GNU libc.
 UnSet("CONFIG_OWN_GETOPT");
index f74f33e1d4e78141557f5df7948937ed62d88d55..6ead4648e9f8e270e77c232bd4a62211b67c2403 100644 (file)
 #include <stdio.h>
 #include <string.h>
 
-#if defined(CONFIG_OWN_REGEX) || defined(CONFIG_POSIX_REGEX)
+#ifdef CONFIG_POSIX_REGEX
 
 /* POSIX regular expression library */
 
-#ifdef CONFIG_OWN_REGEX
-#include "lib/regex/regex-sh.h"
-#else
 #include <regex.h>
-#endif
 
 struct regex {
   regex_t rx;