aboutsummaryrefslogtreecommitdiff
path: root/libiberty/regex.c
AgeCommit message (Collapse)AuthorFilesLines
2003-04-15re PR target/10338 ([3.3 regression?] [Cygwin -> tic4x | avr] cross target ↵Kaveh R. Ghazi1-1/+1
compilation error) gcc: PR target/10338 PR bootstrap/10198 PR bootstrap/10140 * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy. libiberty: PR target/10338 PR bootstrap/10198 PR bootstrap/10140 * getopt.c (exchange, _getopt_initialize): Use mempcpy not __mempcpy. * regex.c (regerror): Likewise. From-SVN: r65634
2002-09-20cp-demangle.c (demangling_new): Cast 0 to enum.John David Anglin1-1/+1
* cp-demangle.c (demangling_new): Cast 0 to enum. (demangle_char): Cast return of strdup to char *. (is_gnu_v3_mangled_ctor): Cast 0 to enum. (is_gnu_v3_mangled_dtor): Likewise. * cplus-dem.c (grow_vect): Cast return of xrealloc to void *. (work_stuff_copy_to_from): Cast return of xmalloc to char **. * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t. * md5.c (md5_process_bytes): Cast results back to const void *. (md5_process_block): Add cast to const md5_uint32 *. * regex.c (re_compile_fastmap): Cast enum to UCHAR_T. * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to unsigned short. * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc to void *. * vasprintf.c (int_vasprintf): Cast return of malloc to char *. From-SVN: r57330
2002-09-05* regex.c: Only use "#pragma alloca" on AIX when not using gcc.Roger Sayle1-1/+1
From-SVN: r56871
2002-08-07regex.c (re_error_msgid): Just use a simple array of strings.DJ Delorie1-81/+25
* regex.c (re_error_msgid): Just use a simple array of strings. (re_compile_pattern): Compensate. (re_comp): Likewise. (re_comp): Likewise. (regerror): Likewise. From-SVN: r56106
2001-11-16Update test for token pasting to also check "|| defined(ALMOST_STDC)"Kaveh R. Ghazi1-2/+2
From-SVN: r47108
2001-11-16regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE) to determine ↵Kaveh R. Ghazi1-2/+2
whether ISO CPP... * regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting is available. From-SVN: r47107
2001-11-15config.in (HAVE_UINTPTR_T): Provide autoconf stub.Jeffrey A Law1-1/+1
* config.in (HAVE_UINTPTR_T): Provide autoconf stub. * configure.in (HAVE_UINTPTR_T): Test for system defining uintptr_t and define HAVE_UINTPTR_T appropriately. * regex.c (uintptr_t): Do not provide a definition if the system provided one. From-SVN: r47068
2001-11-15regex.c (PREFIX): Provide an alternate definition for non-ANSI/ISO compilers.Jeffrey A Law1-3/+12
* regex.c (PREFIX): Provide an alternate definition for non-ANSI/ISO compilers. (ARG_PREFIX): Likewise. From-SVN: r47067
2001-11-12obstack.c (_): Honor the setting of ENABLE_NLS.Jim Meyering1-1/+1
2001-11-12 Jim Meyering <meyering@lucent.com> * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls. * getopt.c (_): Likewise. * regex.c (_): Likewise. From-SVN: r46975
2001-08-23merge from glibcUlrich Drepper1-14/+58
From-SVN: r45134
2001-08-12backport: regex.c (wcs_regex_compile): Use appropriate string to compare ↵Isamu Hasegawa1-2/+2
with collating element. Merge from libc: * regex.c (wcs_regex_compile): Use appropriate string to compare with collating element. Fix the padding for the alignment. From-SVN: r44838
2001-07-30backport: regex.c: Declare wcs functions only if compiling with MBS_SUPPORT.Andreas Jaeger1-46/+107
Merge from glibc: * regex.c: Declare wcs functions only if compiling with MBS_SUPPORT. Don't use #elif for traditional C. * regex.c: Revamp memory allocation for WCHAR functions to not use too much stack. From-SVN: r44471
2001-07-18merge from glibcDJ Delorie1-10/+24
From-SVN: r44138
2001-07-10Makefile.in: Add support for regex code.Jeff Johnston1-0/+8245
* Makefile.in: Add support for regex code. * regex.c: New file. From-SVN: r43914