Jim Meyering
116e6fb244
Update FSF postal mail address.
2005-05-14 07:58:06 +00:00
Paul Eggert
1cc46fbf53
Sync from gnulib, to remove dependencies of other modules on unlocked-io.
2004-10-04 20:18:43 +00:00
Paul Eggert
7fed0a985b
Rewrite to avoid casts.
2004-08-02 22:52:39 +00:00
Jim Meyering
846d81da01
(readtoken): Don't leak 64 bytes when reading an empty input stream.
2004-03-21 19:50:17 +00:00
Jim Meyering
4ee9bda98e
Include <stdbool.h>.
...
(readtoken): Use `size_t' rather than int/long.
All callers adjusted.
Use `bool' rather than `int' where appropriate.
Use memset rather than an explicit loop.
Use x2nrealloc rather than xrealloc.
Allow the use of `\0' as a delimiter.
(readtokens): Likewise.
2004-03-21 18:49:06 +00:00
Jim Meyering
17019d2056
Include readtokens.h first, to test interface.
...
Include <stdlib.h>, <string.h> unconditionally.
(init_tokenbuffer): Define with a prototype.
2003-09-10 09:08:01 +00:00
Jim Meyering
18944fe439
Remove unnecessary parentheses around malloc.
2003-06-07 10:15:12 +00:00
Jim Meyering
474db3e6a4
Put `Free Software Foundation' in place of my name
...
in the copyright comment.
2003-06-07 10:13:29 +00:00
Jim Meyering
58b92bbeb2
Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.
2003-04-11 12:20:35 +00:00
Jim Meyering
0e87cb139e
(readtoken): Cast character to 'unsigned char', not 'unsigned int'.
2003-01-14 14:15:37 +00:00
Jim Meyering
5b34b167f9
(readtoken): Declare an index to be of type unsigned
...
to avoid a pedantic warning.
2001-12-09 22:39:02 +00:00
Jim Meyering
13d08934ba
Remove explicit declarations of xmalloc and xrealloc,
...
Instead, include "xalloc.h".
2001-11-17 13:51:34 +00:00
Jim Meyering
3eb2a22131
Include unlocked-io.h.
2001-11-17 13:29:42 +00:00
Jim Meyering
cf3d3f1e6e
(readtoken, readtokens): Protoize.
1999-04-11 13:25:52 +00:00
Jim Meyering
19bff1c02d
indent cpp-directives
1996-07-15 03:56:06 +00:00
Jim Meyering
6014da9e30
update FSF address in copyright
1996-07-15 03:43:36 +00:00
Jim Meyering
746c5e5528
Unprotoize.
1996-02-24 18:30:46 +00:00
Jim Meyering
d0e2b9c466
Declare xmalloc, xrealloc rather than including xalloc.h.
1995-08-07 22:21:03 +00:00
Jim Meyering
1a41e74d32
.
1995-01-27 05:37:03 +00:00