Jim Meyering
116e6fb244
Update FSF postal mail address.
2005-05-14 07:58:06 +00:00
Paul Eggert
b6f35b5d52
Don't include inttypes.h or stdint.h.
...
(UNALIGNED_P): Remove.
(__memchr): Use size_t, not uintptr_t, to test alignment.
2004-08-02 05:21:12 +00:00
Paul Eggert
ac63cc6b0f
Fix copyright year.
2004-07-30 00:40:40 +00:00
Paul Eggert
3a7060d519
(UNALIGNED_P): Use sizeof, not alignof.
2004-07-29 17:33:38 +00:00
Paul Eggert
5048f3461c
Include <stddef.h>, not <stdlib.h> and <sys/types.h>.
...
(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.
2004-07-28 22:20:56 +00:00
Jim Meyering
b6508927a3
(__ptr_t): Remove; all uses changed to void *.
...
Include <string.h> unconditionally.
Include <limits.h> unconditionally.
Include <stdlib.h> unconditionally.
(LONG_MAX): Remove.
(__memchr): Define via a prototype.
2003-09-10 08:55:39 +00:00
Jim Meyering
0f44320b83
Update from libc.
...
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-10-28 08:22:11 +00:00
Jim Meyering
51b6b653a2
back out Copyright date changes for files with no changes year
2000-08-07 15:48:18 +00:00
Jim Meyering
fde850f7ad
update copyright date
2000-07-09 07:22:43 +00:00
Jim Meyering
d11ec4a80f
cpp indent
1999-07-10 16:36:11 +00:00
Jim Meyering
35ec0a08b5
.
1997-02-18 15:13:51 +00:00
Jim Meyering
dbd0c33f24
update FSF address in copyright
1996-07-14 12:44:09 +00:00
Jim Meyering
4fb3e0f061
merge with 1.11.4a
1995-05-28 01:55:00 +00:00
Jim Meyering
7f9311c20e
merge with 1.11.1b
1995-05-21 11:44:22 +00:00
Jim Meyering
c70ee3bf4a
merge with 1.11.d
1995-03-21 01:43:35 +00:00
Jim Meyering
e677aefec1
Update from glibc.
1995-03-12 15:26:09 +00:00
Jim Meyering
c9b696a6bd
merge with 1.9.1g
1994-10-02 23:01:05 +00:00
Jim Meyering
36f920112b
.
1994-04-25 17:01:36 +00:00
Jim Meyering
d1df8c198d
merge with 1.8d
1993-10-21 22:08:53 +00:00
Jim Meyering
0f8257073a
* memchr.c (memchr): Do the 32-bit assignment only if !LONG_64_BITS.
...
In the 64-bit assignment, be careful to cast the shift operand to
long.
Abort if sizeof (unsigned long) > 8.
1993-10-21 00:10:34 +00:00
Jim Meyering
b25038ce9a
Initial revision
1992-11-08 02:50:43 +00:00