Commit Graph

4062 Commits

Author SHA1 Message Date
Paul Eggert 13aa6d899c Include xtime.h and gethrxtime.h, not xalloc.h.
(timespec_subtract): Remove.
(NANOSLEEP_BUG_WORKAROUND): New constant.
(xnanosleep): Use gethrxtime rather than gettime; this simplifies
things considerably.  Use it only on GNU/Linux hosts, since the
workaround shouldn't be needed elsewhere.
2005-02-21 08:10:47 +00:00
Paul Eggert 14d0416864 (gettime): Return void, since it always
succeeds now.  All uses changed.
2005-02-21 08:10:11 +00:00
Paul Eggert dfefe8e5de (gettime) Return void, since it always
succeeds now.  All uses changed.
[HAVE_NANOTIME]: Prefer nanotime.
Assume gettimeofday succeeds, as POSIX requires.
Assime time () succeeds, since other code already does.
2005-02-21 08:09:30 +00:00
Paul Eggert fa5269cf6f (get_date): gettime now returns void, not int. 2005-02-21 08:08:38 +00:00
Paul Eggert 9df4b1d7e4 Initial revision. 2005-02-21 08:05:49 +00:00
Jim Meyering 696a24b227 *** empty log message *** 2005-02-20 16:33:43 +00:00
Jim Meyering 2b972d584b *** empty log message *** 2005-02-20 16:33:11 +00:00
Jim Meyering 84c616fa90 (xgethostname): Check for ENOMEM, which is
returned by OSX/Darwin if the specified buffer is not large
enough for the hostname.
2005-02-20 16:33:03 +00:00
Jim Meyering 7849e2b8e0 *** empty log message *** 2005-02-20 12:25:52 +00:00
Jim Meyering 0acdf67e2d (libfetish_a_SOURCES): Remove linebuffer.[ch] and stripslash.c. 2005-02-20 12:25:43 +00:00
Jim Meyering 017b3436b8 . 2005-02-13 08:15:24 +00:00
Jim Meyering 1beb06ed13 *** empty log message *** 2005-02-11 20:27:02 +00:00
Jim Meyering 9a564239f5 Remove names of files that are now mentioned in AC_LIBSOURCES
and AC_LIBOBJ uses in inttostr.m4.

(libfetish_a_SOURCES): Remove imaxtostr.c,
offtostr.c, and umaxtostr.c.
(EXTRA_DIST): Remove inttostr.c and inttostr.h.
2005-02-11 20:26:57 +00:00
Jim Meyering 4738975f66 . 2005-02-09 09:58:07 +00:00
Jim Meyering 938fe6521f *** empty log message *** 2005-02-08 09:56:22 +00:00
Jim Meyering e01c9a1b7a (libfetish_a_SOURCES): Remove memcasecmp.c and memcasecmp.h. 2005-02-08 09:56:15 +00:00
Jim Meyering a8826c6e63 (vasnprintf) [!USE_SNPRINTF]: Correct the test for integer overflow. 2005-02-07 16:49:58 +00:00
Jim Meyering c0756a37d4 *** empty log message *** 2005-02-07 16:47:49 +00:00
Jim Meyering 5889debf40 (libfetish_a_SOURCES): Remove fts.c, fts_.h, and
getcwd.h now that they're mentioned in AC_LIBSOURCES and AC_LIBOBJ
uses in the corresponding ../m4/*.m4.
2005-02-07 16:47:39 +00:00
Paul Eggert 64e8691b46 Regenerate. 2005-02-03 21:55:40 +00:00
Paul Eggert d6f9651aff Define and use new file memrchr.h. 2005-02-03 21:48:35 +00:00
Paul Eggert f045469c91 [!defined _LIBC]: Include "memrchr.h" rather than <string.h>.
Don't bother including stddef.h.
2005-02-03 21:33:40 +00:00
Paul Eggert 6dc84f8396 Include memrchr.h. 2005-02-03 21:33:02 +00:00
Paul Eggert a68faae3a1 Initial revision 2005-02-03 21:32:34 +00:00
Paul Eggert ae65663064 mountlist.h, mountlist.h cleanup, and add support for subfs. 2005-02-01 23:59:45 +00:00
Paul Eggert 52a43df1b1 (MOUNTLIST_H_): New macro, to protect against double inclusion.
Include <sys/types.h>, for dev_t.
(ME_DUMMY, ME_REMOTE): Move to mountlist.c.
2005-02-01 23:58:30 +00:00
Paul Eggert c4a0cafe71 Include mountlist.h first, to test the interface.
(ME_DUMMY, ME_REMOTE): Moved here from mountlist.c.
(ME_DUMMY): Count "subfs" as a dummy.
2005-02-01 23:58:01 +00:00
Jim Meyering 8e65231494 *** empty log message *** 2005-01-29 00:24:08 +00:00
Jim Meyering 1f1da5a429 . 2005-01-29 00:21:24 +00:00
Jim Meyering 38a7e162cd * Makefile.am (libfetish_a_SOURCES): Remove many files from this
list, now that automake determines their names automatically,
thanks to the new AC_LIBSOURCES and AC_LIBOBJ uses in the
corresponding ../m4/*.m4 files.
(EXTRA_DIST): Add getdate.c here, so that we continue to distribute it.
2005-01-29 00:20:50 +00:00
Jim Meyering 78931f3234 *** empty log message *** 2005-01-25 12:30:15 +00:00
Jim Meyering aabf87bc83 Don't include assert.h.
(path_concat): Remove assertion that would have triggered
for ABASE starting with more than one slash.
Reported by Andreas Schwab.
2005-01-25 12:30:01 +00:00
Jim Meyering 313147e76a *** empty log message *** 2005-01-25 09:32:53 +00:00
Jim Meyering c6449644bc *** empty log message *** 2005-01-25 09:09:09 +00:00
Jim Meyering 748946e773 (path_concat): Set *BASE_IN_RESULT
properly when ABASE is an absolute file name.
Correct the description of this function.
Include <assert.h>.
Add an assertion and a test driver.
This fixes a bug introduced on 2004-07-02.
2005-01-25 09:07:49 +00:00
Paul Eggert 52bf4b2a25 Regenerate. 2005-01-22 06:30:33 +00:00
Paul Eggert 15ac53209f Sync from gnulib. 2005-01-22 06:25:53 +00:00
Jim Meyering 9e09c422a2 *** empty log message *** 2005-01-21 12:46:36 +00:00
Paul Eggert be0dc61d80 Add version-etc-fsf. 2005-01-21 00:21:37 +00:00
Paul Eggert b80668c3f8 (libfetish_a_SOURCES): Add version-etc-fsf.c. 2005-01-21 00:21:01 +00:00
Paul Eggert 8dcf5bba94 Initial version. 2005-01-21 00:20:20 +00:00
Paul Eggert 94e9766114 (version_etc_copyright): Use [] instead of * in prototype. 2005-01-21 00:20:05 +00:00
Paul Eggert 450a7a1aff Remove version_etc_copyright. 2005-01-21 00:19:49 +00:00
Paul Eggert bd88d49b85 * save-cwd.c (save_cwd): Remove code to support non-fchdir case. 2005-01-20 22:17:47 +00:00
Paul Eggert 7e43a4e6c4 (save_cwd): Remove code to support the case
where fchdir is missing or flaky.
2005-01-20 22:17:26 +00:00
Jim Meyering e989e603fa *** empty log message *** 2005-01-19 13:45:22 +00:00
Jim Meyering 2157aa8ba7 (AT_SYMLINK_NOFOLLOW): Define to 4096, so it's the same value as for Solaris 9. 2005-01-19 13:44:54 +00:00
Jim Meyering f4af6f487c *** empty log message *** 2005-01-19 12:52:15 +00:00
Jim Meyering dea0e69ce0 *** empty log message *** 2005-01-19 12:51:06 +00:00
Jim Meyering 5ff3a2e214 remove diff, in, out 2005-01-19 12:50:12 +00:00