aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memchr.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21Remove from CVS, since the bootstrap script generates them automatically.Paul Eggert1-201/+0
2005-09-22Sync from gnulib.Paul Eggert1-3/+2
2005-05-14Update FSF postal mail address.Jim Meyering1-1/+1
2004-08-02Don't include inttypes.h or stdint.h.Paul Eggert1-17/+1
(UNALIGNED_P): Remove. (__memchr): Use size_t, not uintptr_t, to test alignment.
2004-07-30Fix copyright year.Paul Eggert1-1/+1
2004-07-29(UNALIGNED_P): Use sizeof, not alignof.Paul Eggert1-2/+4
2004-07-28Include <stddef.h>, not <stdlib.h> and <sys/types.h>.Paul Eggert1-25/+41
(LONG_MAX_32_BITS): Remove. Include <inttypes.h> and <stdint.h> if available. (alignof, UNALIGNEDP): New macro, portable to all C89 hosts. (__memchr): Don't assume unsigned long int is either 4 or 8 bytes; let it be any number of bytes greater than or equal to 4. * memrchr.c: Likewise, with __memrchr.
2003-09-10(__ptr_t): Remove; all uses changed to void *.Jim Meyering1-34/+18
Include <string.h> unconditionally. Include <limits.h> unconditionally. Include <stdlib.h> unconditionally. (LONG_MAX): Remove. (__memchr): Define via a prototype.
2000-10-28Update from libc.Jim Meyering1-7/+24
Adjust for portability: [HAVE_STDLIB_H]: Include stdlib.h. [HAVE_BP_SYM_H || _LIBC]: Guard inclusion of bp-sym.h. Undef __memchr, too. [!weak_alias]: Define __memchr to memchr.
2000-08-07back out Copyright date changes for files with no changes yearJim Meyering1-1/+1
2000-07-09update copyright dateJim Meyering1-1/+1
1999-07-10cpp indentJim Meyering1-3/+3
1997-02-18.Jim Meyering1-2/+2
1996-07-14update FSF address in copyrightJim Meyering1-1/+2
1995-05-28merge with 1.11.4aJim Meyering1-6/+11
1995-05-21merge with 1.11.1bJim Meyering1-6/+2
1995-03-21merge with 1.11.dJim Meyering1-1/+1
1995-03-12Update from glibc.Jim Meyering1-46/+67
1994-10-02merge with 1.9.1gJim Meyering1-7/+0
1994-04-25.Jim Meyering1-7/+12
1993-10-21merge with 1.8dJim Meyering1-0/+11
1993-10-21* memchr.c (memchr): Do the 32-bit assignment only if !LONG_64_BITS.Jim Meyering1-21/+43
In the 64-bit assignment, be careful to cast the shift operand to long. Abort if sizeof (unsigned long) > 8.
1992-11-08Initial revisionJim Meyering1-0/+145