Commit Graph

4317 Commits

Author SHA1 Message Date
Paul Eggert
98088e6a60 Include stdio-safer.h first, to check interface.
Don't bother including stdio.h, since stdio-safer.h does.
2005-07-03 07:13:31 +00:00
Paul Eggert
8b0a2afe9f Add support for fcntl--.h, stdio--.h, stdlib--.h, unistd--.h, etc. 2005-07-03 06:43:07 +00:00
Jim Meyering
42f845ebc7 . 2005-07-02 14:33:56 +00:00
Jim Meyering
f0001d7346 *** empty log message *** 2005-07-02 11:56:56 +00:00
Jim Meyering
25ef400404 Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally. 2005-07-02 11:56:49 +00:00
Jim Meyering
06e5948dce *** empty log message *** 2005-07-02 10:26:00 +00:00
Jim Meyering
dd2b7c95ff Update from gnulib. 2005-07-02 10:25:58 +00:00
Jim Meyering
410f98fc2b Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally. 2005-07-02 08:41:46 +00:00
Jim Meyering
58076430c3 Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
and don't include <sys/file.h>).
2005-07-01 20:55:29 +00:00
Jim Meyering
ceaa11b643 *** empty log message *** 2005-07-01 20:53:36 +00:00
Paul Eggert
00fdbcc4af * xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>
declares only 'struct timespec;' (!).
2005-07-01 17:25:56 +00:00
Jim Meyering
c44874f722 . 2005-06-30 20:32:46 +00:00
Jim Meyering
d3f25798b9 Add copyright.
Include <fcntl.h> and <unistd.h> unconditionally --
it seems to be ok to do this, these days.
2005-06-30 20:23:09 +00:00
Jim Meyering
a3d8cfece3 *** empty log message *** 2005-06-30 20:23:00 +00:00
Jim Meyering
c17ae586bb *** empty log message *** 2005-06-30 20:16:01 +00:00
Jim Meyering
5754380c82 Rewritten by Paul Eggert.
Now, the minimum overhead is just two system calls: dup and close.
2005-06-30 20:13:40 +00:00
Jim Meyering
58000d181c New file. As yet unused. 2005-06-30 20:10:39 +00:00
Jim Meyering
36835110b6 *** empty log message *** 2005-06-30 16:40:08 +00:00
Jim Meyering
c25ccafa30 *** empty log message *** 2005-06-30 16:39:46 +00:00
Jim Meyering
5aa46e285c [!VERIFY] (VERIFY): Define.
(ARGMATCH_VERIFY): Use it, so this macro may be used more than
once in any given scope.
2005-06-30 16:39:41 +00:00
Jim Meyering
4ff07ebe3c (VERIFY_EXPR): Undef and add a comment. 2005-06-30 15:46:05 +00:00
Jim Meyering
b2915239d7 *** empty log message *** 2005-06-29 21:24:48 +00:00
Jim Meyering
eb231be3d6 (getuser, getuidbyname, getgroup, getgidbyname): Likewise. 2005-06-29 21:24:44 +00:00
Jim Meyering
2639d24e52 *** empty log message *** 2005-06-29 21:22:31 +00:00
Jim Meyering
dc59bb5133 (make_dir_parents): Don't apply sizeof to a hard-coded type name.
Use the variable name instead.
2005-06-29 21:22:06 +00:00
Jim Meyering
a9b919bde8 *** empty log message *** 2005-06-29 16:33:27 +00:00
Jim Meyering
22326600be (VERIFY_EXPR): Define.
(X2REALLOC): New macro, to make using x2realloc a little safer.
2005-06-29 16:33:17 +00:00
Jim Meyering
f05347d1ee . 2005-06-27 11:13:43 +00:00
Jim Meyering
7f7acc20fd . 2005-06-27 08:50:22 +00:00
Jim Meyering
722379be04 (libcoreutils_a_SOURCES): Remove diacrit.c and diacrit.h. 2005-06-26 13:31:16 +00:00
Jim Meyering
88fc20a633 *** empty log message *** 2005-06-25 21:32:05 +00:00
Jim Meyering
a2013a21e1 (libcoreutils_a_SOURCES): Remove version-etc.c version-etc.h
and version-etc-fsf.c.
2005-06-25 21:31:59 +00:00
Jim Meyering
98172e8ab1 (libcoreutils_a_SOURCES): Remove dev-ino.h too, now that we
get it via root-dev-ino.m4
2005-06-25 21:25:42 +00:00
Jim Meyering
49d976e156 Remove dev-ino.h, now that we get it via root-dev-ino.m4 2005-06-25 21:25:29 +00:00
Jim Meyering
ef0790fc1c *** empty log message *** 2005-06-25 12:35:23 +00:00
Jim Meyering
40a9612ec4 (libcoreutils_a_SOURCES): Remove root-dev-ino.c and root-dev-ino.h. 2005-06-25 12:35:13 +00:00
Paul Eggert
406929bb9d (canon_host) [HAVE_GETADDRINFO]: Use = { 0, };' to initialize local hint'. 2005-06-24 17:33:58 +00:00
Jim Meyering
534ccf18c2 . 2005-06-24 08:06:28 +00:00
Jim Meyering
a0e12540f5 *** empty log message *** 2005-06-23 18:41:55 +00:00
Jim Meyering
8ddb95f66c (libcoreutils_a_SOURCES): Remove xstrtod.c and xstrtod.h. 2005-06-23 18:41:48 +00:00
Jim Meyering
5c215ef2ad . 2005-06-23 16:34:18 +00:00
Jim Meyering
a2b5c6c00e (libcoreutils_a_SOURCES): Remove xreadlink.c and xreadlink.h. 2005-06-23 16:24:32 +00:00
Jim Meyering
fba73bf741 *** empty log message *** 2005-06-23 13:26:20 +00:00
Jim Meyering
5fd26561cb (backup_args): Change a `0' to NULL. 2005-06-23 13:26:15 +00:00
Paul Eggert
a13627ac2e mktime fix to avoid a diagnostic. 2005-06-22 19:08:21 +00:00
Paul Eggert
8834b57877 Include <string.h> even if !DEBUG. (From glibc.)
(ranged_convert): Don't save conversion in a temporary struct.
This causes a warning with GCC 4.0.0, and anyway in the typical
case it's not worth the extra 100 bytes or so of code.
(ranged_convert, __mktime_internal): When calling a function via a
pointer P, use P () rather than (*P) (), as we now assume C89 or better.
2005-06-22 19:07:41 +00:00
Paul Eggert
956daabfc6 (desirable_utmp_entry): Fix bug where "who -b" and "who -r"
failed to give output.
2005-06-22 18:26:22 +00:00
Jim Meyering
fd78e66067 From gnulib:
(HAVE_GNU_CALLOC): New constant.
  (xcalloc): Use it to avoid needless tests.
2005-06-22 11:55:38 +00:00
Jim Meyering
fb33aea31f *** empty log message *** 2005-06-22 11:52:24 +00:00
Jim Meyering
7cb0b72a2c . 2005-06-20 07:13:36 +00:00