Paul Eggert
c747ee56a7
Remove workaround for nanosleep bug in Linux kernel 2.6.8 or thereabouts.
2005-03-04 06:43:08 +00:00
Jim Meyering
56553ab2e1
.
2005-03-01 20:27:24 +00:00
Paul Eggert
23adaf0bed
Don't include gethrxtime.h or xtime.h.
...
(NANOSLEEP_BUG_WORKAROUND): Remove.
(xnanosleep): Remove the workaround.
2005-03-01 17:25:53 +00:00
Jim Meyering
79ddee707c
*** empty log message ***
2005-02-28 10:03:02 +00:00
Jim Meyering
db042d2022
(xnanosleep): Work around bug in Linux-2.6.8.1's
...
nanosleep whereby it fails without setting errno upon being resumed
after being suspended.
2005-02-28 10:02:58 +00:00
Paul Eggert
9ba7355604
Regenerate.
2005-02-26 07:42:19 +00:00
Paul Eggert
d37169d9c4
* vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Correct the test for
...
integer overflow again.
2005-02-26 07:38:14 +00:00
Paul Eggert
c8d8d339d3
(VASNPRINTF) [!USE_SNPRINTF]: Correct the test for
...
integer overflow again. Actually, neither this nor the 2005-01-23
change fixes any bug on any plausible platform; it's more of a
code-clarity thing.
2005-02-26 07:37:49 +00:00
Paul Eggert
f93ba58756
Sync from gnulib.
2005-02-26 07:31:20 +00:00
Paul Eggert
157fdac571
strftime.c cleanup to handle outlandish years.
2005-02-24 00:27:17 +00:00
Paul Eggert
3477139eaa
Include <stdbool.h>. Use bool where appropriate, instead of int.
...
(my_strftime): Do not mishandle years close to INT_MAX, by doing
the right thing even if adding 1900 would overflow. Similarly
for tm_mon + 1 and tm_yday + 1.
Make %Y always equivalent to %C%y, and similarly for %G and %g.
(DO_NUMBER, DO_NUMBER_SPACEPAD): Set digits to d, not a conditional.
(DO_SIGNED_NUMBER): New macro.
(my_strftime) [HAVE_TZNAME]: Don't dump core if tp->tm_dst > 1.
2005-02-24 00:26:55 +00:00
Paul Eggert
5677f3f7d9
Regenerate.
2005-02-22 07:21:57 +00:00
Paul Eggert
ff35a3ca2b
Fix clock_gettime library access problem on recent GNU/Linux systems.
2005-02-22 07:19:43 +00:00
Paul Eggert
ba8ad9a1e6
(libfetish_a_SOURCES): Remove xnanosleep.c,
...
xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically.
2005-02-22 07:08:43 +00:00
Paul Eggert
7244117ba2
Regenerate.
2005-02-21 08:26:21 +00:00
Paul Eggert
10ca18d561
Describe recent changes to use realtime clocks if available,
...
when appropriate; also, gettime now returns void.
2005-02-21 08:20:15 +00:00
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