summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex.c
AgeCommit message (Collapse)Author
2008-06-04This fixes a problem with the move of libc_hidden_proto to string.h.Bernd Schmidt
The obsolete functions bcopy, index, etc. are not supposed to be used within uClibc itself. Hence, there is no libc_hidden_def for them, but the previous patch did not just move libc_hidden_protos, it also added new ones for the legacy functions. As a result, programs which use these functions can no longer link with uClibc. This fixes it by removing the unnecessary libc_hidden_protos. I've also removed all inclusions of <strings.h> from uClibc source files: since we define _GNU_SOURCE, it is sufficient to include <string.h>. We then do not need to duplicate the libc_hidden_proto block in <strings.h>.
2008-05-30- Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2006-03-23select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger
defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
2006-03-22Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger
2006-03-22Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger
_ISOC99/XOPEN_SOURCE
2006-01-30make regex a little bit smallerPeter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-16Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger
gone from libc. The remaining are left as exercise for others ;-)
2006-01-15get rid of warning if UCLIBC_HAS_CTYPE_TABLES is not enabledPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2005-12-16Use hidden towupper in new regexPeter S. Mazinger
2005-12-16New regex as wellPeter S. Mazinger
2005-12-07Hide morePeter S. Mazinger
2005-12-07Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...Peter S. Mazinger
2005-12-06Make use internal str*casecmp/wcscollPeter S. Mazinger
2005-12-03More hiding, including __mempcpyPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-28Allow internal_function to come from libcPeter S. Mazinger
2005-11-28Add new regex code from glibc, this is almost double size of the earlier ↵Peter S. Mazinger
one, but passes sed tests (and thus allows making sed shrink from 91k to 42k
2005-11-28Rename regex.c to regex_old.cPeter S. Mazinger
2005-11-28Sync regex.h w/ glibc and make regex build w/ itPeter S. Mazinger
2005-11-27Hide some wcs*Peter S. Mazinger
2005-11-27Hide some of mem* and str*Peter S. Mazinger
2002-11-14As released in uClibc 0.9.16, regex was being compiled withoutEric Andersen
wide char support, even when the rest of uClibc was. This led to anyone using regex segfaulting... -Erik
2001-11-24Sync regex with glibc 2.2.4. I need to add an option to selectEric Andersen
a minamalist replacement. Coming soon... -Erik
2001-06-07The m68k-elf compiler chokes on this code when compiling for PIC asDavid McCullough
compile_regex is one big function (relative function calls further than cpu32 can do). The solution was to re-order the code a little to reduce the size of these relative calls. So the total sum of the changes is: * Move compile_regex to the end of the file * make store_op1 an inline Unfortunately CVS diff doesn't show this and makes it look like the whole file has been severely hacked. It hasn't.
2001-05-26Fix regex support to be compatible with 4.2 BSD regex library. This isEric Andersen
the last bit that was needed to get util-linux to compile.
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2000-10-20A smaller, kinder, gentler regexp implementation.Eric Andersen