summaryrefslogtreecommitdiffstats
path: root/libc/misc/regex/regex_old.c
Commit message (Collapse)AuthorAgeFilesLines
* regex_old: convert static flag variable to smallintDenys Vlasenko2010-04-051-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* silence some warnings about unused paramsBernhard Reutner-Fischer2010-01-231-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* regex: call memcpy() ourselvesMike Frysinger2009-10-221-1/+2
| | | | | | | Call the hidden memcpy() ourselves otherwise gcc will emit a call to the public memcpy() which goes through the PLT. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-11/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove erroneous ';'Bernhard Reutner-Fischer2009-07-281-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add hidden aliases for older regex search functionsMike Frysinger2009-07-201-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ctype: remove some trivial macros from ctype.h;Denis Vlasenko2008-12-271-1/+1
| | | | | | | | | | | | remove __tolower and __toupper (they existed only in SOME configs!); remove usages of _tolower (some of them clearly buggy) from uclibc code; add a few more -U<define> options to unifdef pass over installed headers; document it on docs/wchar_and_locale.txt text data bss dec hex filename - 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so + 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
* regex: remove useless casts on allocations;Denis Vlasenko2008-12-261-4/+3
| | | | | | | | | | remove old-style-C function params declarations; change re_comp_buf from struct to pointer (more static build friendly) text data bss dec hex filename - 514952 2731 15424 533107 82273 lib/libuClibc-0.9.30-svn.so + 515011 2731 15396 533138 82292 lib/libuClibc-0.9.30-svn.so
* regex: drop __<funcname> aliases. remove much of unused code.Denis Vlasenko2008-12-261-95/+12
| | | | | | | | | shrink offset tables. disable "likely/unlikely" BE() macro. text data bss dec hex filename - 515032 2731 15424 533187 822c3 lib/libuClibc-0.9.30-svn.so + 515014 2731 15424 533169 822b1 lib/libuClibc-0.9.30-svn.so
* test/regex/tst-regex2.c: fix the rest of testsuite failuresDenis Vlasenko2008-12-251-1/+12
|
* test/regex/tst-regex2.c: fix test failure. Next one is immediately after...Denis Vlasenko2008-12-251-1/+1
| | | | | | | | | | | | test 2 pattern 0 '.?.?.?.?.?.?.?Log\.13' -incorrect num_regs 30, expected 2 + 1.283480s +test 2 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13' + 3.429810s +test 2 pattern 2 '((((((((((.?))))))))))((((((((((.?))))))))))....' +incorrect num_regs 30, expected 72
* heed compiler warnings about checking non-defined variables in #if directivesDenis Vlasenko2008-12-141-6/+6
|
* *: remove vestiges of gcc's "bounded pointers" feature,Denis Vlasenko2008-12-121-34/+11
| | | | | | it is dead (not supported by gcc) for years. (more of it remains in multiple copies of sigaction.c)
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-8/+8
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* - fix for r23427. Thanks to psm for mentioning this and sorry for the breakageBernhard Reutner-Fischer2008-09-191-7/+7
|
* - remove non stdc path (old style definitions). No obj-code changesBernhard Reutner-Fischer2008-09-181-248/+208
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-22/+22
|
* Revert revision 19347, plus libc_hidden_proto for __uc_malloc.Bernd Schmidt2008-06-121-7/+3
| | | | | Some of the code is functionally identical before and after, but for now I'm just mechanically reverting the entire mess.
* add missing includes of unistd.h for smallint usageDenis Vlasenko2008-06-011-0/+1
| | | | | remove a few duplicate includes of unistd.h
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-201-7/+4
|
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-1/+1
| | | | | | | | | | | | | | - 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-6/+6
| | | | | | | | | 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.
* add hidden_proto's for __uc_mallocDenis Vlasenko2008-02-121-0/+1
| | | | | (patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
* make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko2007-07-301-3/+6
| | | | | | | | | | | | | replace "buf = malloc(BUFSIZ); if (!buf) abort();" by __uc_malloc elsewhere. With last 7 patches together uclibc has 3k of static data total with fairly big .config and with 2k being used for 2 x BUFSIZ stdio buffer: text data bss dec hex filename 114 132 2048 2294 8f6 _stdio.o (ex lib/libc.a) total data 593 total bss 3062
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-221-3/+7
| | | | _ISOC99/XOPEN_SOURCE
* include stdint.h and check __intptr_t_defined to see if we need to setup ↵Mike Frysinger2006-02-071-1/+2
| | | | uintptr_t
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-4/+0
| | | | is a useless attempt
* fix warning when sizeof uchar_t is 8 bitsMike Frysinger2006-01-201-0/+4
|
* s/weak_alias/strong_alias/, only what I knew as needed are kept. We will now ↵Peter S. Mazinger2006-01-161-12/+12
| | | | see what libpthread will do ...
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-24/+25
| | | | missing headers, other jump relocs removed
* Get rid of tolower/toupper jump reloc, correct tow* for XLOCALEPeter S. Mazinger2006-01-031-1/+1
|
* glob/ftw/regex_old reworked. regex_old did not have MBS_SUPPORT enabledPeter S. Mazinger2005-12-161-15/+23
|
* Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger2005-12-091-0/+1
|
* Use internal versionsPeter S. Mazinger2005-12-081-2/+3
|
* Hide morePeter S. Mazinger2005-12-071-0/+1
|
* Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...Peter S. Mazinger2005-12-071-0/+3
|
* Make use internal str*casecmp/wcscollPeter S. Mazinger2005-12-061-0/+1
|
* Forgotten that this file is special and does not accept hidden, __mempcpy is ↵Peter S. Mazinger2005-12-011-1/+1
| | | | hidden again
* Hide mostly used functionsPeter S. Mazinger2005-12-011-3/+2
|
* Rename regex.c to regex_old.cPeter S. Mazinger2005-11-281-0/+8383