Commit Graph
21233 Commits
Author SHA1 Message Date
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 cfa2bfb98e *** empty log message *** 2005-06-30 20:33:55 +00:00
Jim Meyering c44874f722 . 2005-06-30 20:32:46 +00:00
Jim Meyering e457b0a9c9 Require gl_STDOPEN. 2005-06-30 20:24:45 +00:00
Jim Meyering 9c360d0540 (gl_STDOPEN): New file/macro. 2005-06-30 20:24:02 +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 0f4b63f1ac *** empty log message *** 2005-06-30 16:48:02 +00:00
Jim Meyering 8665927afc Add uses of ARGMATCH_VERIFY to ensure that
corresponding option string and value arrays are consistent.
2005-06-30 16:47:54 +00:00
Jim Meyering 7078d7a5b8 Add uses of ARGMATCH_VERIFY to ensure that
corresponding option string and value arrays are consistent.
Remove a harmless trailing `, 0' from a value list.
2005-06-30 16:47:38 +00:00
Jim Meyering 779a89cdb4 Add uses of ARGMATCH_VERIFY to ensure that
corresponding option string and value arrays are consistent.
Remove a harmless trailing `, 0' from a value list.
2005-06-30 16:47:00 +00:00
Jim Meyering f2daebf810 *** empty log message *** 2005-06-30 16:41:04 +00:00
Jim Meyering a9129f0786 (VERIFY): Guard definition with #ifndef.
(VERIFY_EXPR): Undef before defining.
2005-06-30 16:40:59 +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 412a83b11b *** empty log message *** 2005-06-29 17:11:02 +00:00
Jim Meyering 98f3ba52df Use one fewer helper macro. 2005-06-29 17:10:44 +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 e574d209f6 *** empty log message *** 2005-06-29 16:29:19 +00:00
Jim Meyering fdbdfd5b62 (main): Use X2REALLOC rather than x2realloc. 2005-06-29 16:27:37 +00:00
Jim Meyering e68eeff682 (fillbuf): Use X2REALLOC rather than x2realloc. 2005-06-29 16:26:20 +00:00
Jim Meyering fd98517183 (show_date): Use X2REALLOC rather than x2realloc. 2005-06-29 16:26:01 +00:00
Jim Meyering 9bdffe1137 (main, store_char): Use X2REALLOC rather than x2realloc. 2005-06-29 16:25:50 +00:00
Jim Meyering bea7e93fde Update sole use of VERIFY.
Use X2REALLOC, rather than x2realloc.
2005-06-29 16:23:31 +00:00
Jim Meyering 87f543aea5 (VERIFY): Rewrite to use string-concatenation
and __LINE__ so as not to require a struct name parameter.
(GL_CONCAT, GL_CONCAT2, GL_LINE_CONCAT): Define helper macros.
2005-06-29 16:23:15 +00:00
Jim Meyering e4d87dd573 *** empty log message *** 2005-06-29 10:43:19 +00:00
Jim Meyering 4ffd486ec7 *** empty log message *** 2005-06-29 10:07:45 +00:00
Jim Meyering 9b050191c5 (gobble_file): Use stat.st_author, not stat.st_uid
when computing the --author column width.  This bug might have
resulted in misaligned columns when using the --author option
on the Hurd.  Spotted by Arnold Robbins.

The bug was introduced on 2003-12-03.
2005-06-29 10:03:10 +00:00
Jim Meyering df46e29284 split long line in copyright comment 2005-06-28 17:50:01 +00:00
Jim Meyering 9ea337f843 *** empty log message *** 2005-06-28 16:33:25 +00:00
Jim Meyering cdedc0925c (fillbuf): Use x2realloc on 1-byte base types, not x2nrealloc. 2005-06-28 16:33:20 +00:00
Jim Meyering dec00b5930 (dump_strings): Use x2realloc on 1-byte base types, not x2nrealloc. 2005-06-28 16:31:31 +00:00
Jim Meyering b64058f69e (show_date): Use x2realloc on 1-byte base types, not x2nrealloc. 2005-06-28 16:29:42 +00:00
Jim Meyering 783a13af77 *** empty log message *** 2005-06-28 16:22:44 +00:00
Jim Meyering 2f955ff766 (main, store_char): Use x2realloc on 1-byte base types, not x2nrealloc. 2005-06-28 16:22:36 +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 72408a0e16 *** empty log message *** 2005-06-26 13:32:23 +00:00
Jim Meyering ab264ea51b Require gl_DIACRIT. 2005-06-26 13:32:17 +00:00
Jim Meyering 722379be04 (libcoreutils_a_SOURCES): Remove diacrit.c and diacrit.h. 2005-06-26 13:31:16 +00:00