summaryrefslogtreecommitdiffstats
path: root/libc/misc/regex
Commit message (Collapse)AuthorAgeFilesLines
* ctype: remove some trivial macros from ctype.h;Denis Vlasenko2008-12-274-8/+4
| | | | | | | | | | | | 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
* convert yet another old-style function definitionDenis Vlasenko2008-12-261-5/+5
|
* new regex: stop confusing ourself with _LIBC being undefined;Denis Vlasenko2008-12-265-165/+88
| | | | | | | | | | | | | | | | | nuke one struct initializer which was invisibly becoming a memset - this improves speed by x2: test 0 pattern 0 '.?.?.?.?.?.?.?Log\.13' - 0.249795s + 0.133522s test 0 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13' - 0.360115s + 0.191959s text data bss dec hex filename - 515009 2731 15396 533136 82290 lib/libuClibc-0.9.30-svn.so + 514961 2727 15396 533084 8225c lib/libuClibc-0.9.30-svn.so
* regex: remove useless casts on allocations;Denis Vlasenko2008-12-264-92/+96
| | | | | | | | | | 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-266-341/+52
| | | | | | | | | 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-204-23/+23
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-202-4/+4
|
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-3/+3
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-182-2/+2
|
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-4/+4
|
* - 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-235-42/+42
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-234-12/+12
|
* 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.
* This fixes a problem with the move of libc_hidden_proto to string.h.Bernd Schmidt2008-06-041-1/+0
| | | | | | | | | | | | | 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>.
* fix trivial mismatch in return type of build_wcs_upper_buffer()Denis Vlasenko2008-06-031-1/+1
| | | | | (int/enum). clases bug 3234.
* add missing includes of unistd.h for smallint usageDenis Vlasenko2008-06-011-0/+1
| | | | | remove a few duplicate includes of unistd.h
* - Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+1
|
* 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-192-16/+16
| | | | | | | | | 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
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-1/+0
| | | | I had clearly run search/replace on that were cluttering things up.
* select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger2006-03-231-0/+1
| | | | defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-221-1/+3
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-224-7/+15
| | | | _ISOC99/XOPEN_SOURCE
* Sync w/ glibcPeter S. Mazinger2006-02-284-5/+8
|
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-131-12/+9
| | | | libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
* include stdint.h and check __intptr_t_defined to see if we need to setup ↵Mike Frysinger2006-02-071-1/+2
| | | | uintptr_t
* make regex a little bit smallerPeter S. Mazinger2006-01-303-3/+7
|
* Bernhard Fischer writes: remove unused variablesMike Frysinger2006-01-291-2/+0
|
* Get rid of nested warningsPeter S. Mazinger2006-01-231-4/+4
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-222-5/+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-163-24/+24
| | | | see what libpthread will do ...
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+7
| | | | gone from libc. The remaining are left as exercise for others ;-)
* get rid of warning if UCLIBC_HAS_CTYPE_TABLES is not enabledPeter S. Mazinger2006-01-151-0/+2
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-143-58/+65
| | | | missing headers, other jump relocs removed
* Apply patch used in sed for malloc(0)Peter S. Mazinger2006-01-111-2/+3
|
* Get rid of tolower/toupper jump reloc, correct tow* for XLOCALEPeter S. Mazinger2006-01-033-4/+4
|
* Macros are no good for jump relocs, hack to get rid of one introduced my new ↵Peter S. Mazinger2005-12-161-0/+3
| | | | regex code
* Use hidden towupper in new regexPeter S. Mazinger2005-12-161-0/+1
|
* Make new regex build w/ WCHAR disabled, vapier, does it now work for you?Peter S. Mazinger2005-12-162-0/+6
|
* New regex as wellPeter S. Mazinger2005-12-161-0/+2
|