1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-30 13:56:33 +02:00
Commit Graph

20273 Commits

Author SHA1 Message Date
Jim Meyering e098a29c75 Remove `register' keyword. 2005-03-06 16:34:01 +00:00
Jim Meyering 6eb01f34a6 Remove `register' keyword. 2005-03-06 16:33:20 +00:00
Jim Meyering af20319737 Remove `register' keyword. 2005-03-06 16:31:51 +00:00
Jim Meyering 947457a331 Remove `register' keyword. 2005-03-06 16:30:45 +00:00
Jim Meyering ea510d7e41 Remove `register' keyword. 2005-03-06 16:26:38 +00:00
Jim Meyering bd2147af16 Remove `register' keyword. 2005-03-06 16:25:26 +00:00
Jim Meyering 2a005547b7 Remove register keyword. 2005-03-06 16:23:27 +00:00
Jim Meyering 5179365337 Remove register keyword. 2005-03-06 16:20:43 +00:00
Jim Meyering 74e3e13b3a Remove register keyword. 2005-03-06 16:19:44 +00:00
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 2153bad976 . 2005-03-01 20:50:35 +00:00
Jim Meyering 56553ab2e1 . 2005-03-01 20:27:24 +00:00
Paul Eggert 4fcd0a2251 * src/Makefile.am (nanosec_libs): Remove $(LIB_XANOSLEEP). 2005-03-01 17:29:12 +00:00
Paul Eggert d8adc99dc1 (nanosec_libs): Remove $(LIB_XANOSLEEP); no longer needed. 2005-03-01 17:28:49 +00:00
Paul Eggert 8e7a9fff01 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
to detect nanosleep bug.
2005-03-01 17:26:29 +00:00
Paul Eggert 3ecf3fd1e8 (gl_XNANOSLEEP): Remove configuration attempting
to detect nanosleep bug.
2005-03-01 17:26:16 +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 e9551e2d62 *** empty log message *** 2005-03-01 12:27:59 +00:00
Jim Meyering 4303f04545 (copy_internal): Change test of source type from !S_ISREG to S_ISLNK.
Reported by Paul Eggert in
http://lists.gnu.org/archive/html/bug-coreutils/2004-10/msg00050.html.
2005-03-01 12:27:47 +00:00
Jim Meyering 5b67698846 *** empty log message *** 2005-02-28 10:19:22 +00:00
Jim Meyering 9416c94648 *** empty log message *** 2005-02-28 10:18:32 +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 641ef33fac * coreutils.texi: Adjust to match current strftime.c. 2005-02-24 00:28:16 +00:00
Paul Eggert b2265ebeea (Time directives): Say that %k, %l, and %P are
GNU extensions.
For %p and %P, mention handling of noon and midnight.
For %s, use ISO 8601, and mention handling of leap seconds.
For %S, clarify mention of leap seconds.
For %T, say that it's the same as %H:%M:%S.
For %X, don't say that it must be the same as %H:%M:%S.
For %z and %Z, clarify which time zones are used.  These options
are now affected by --date, so don't claim that they're not.
(Date directives): %C is now all but the last two chars of %Y.
For %D, say that it's equivalent to %m/%d/%y.
For %e, use blank in example.
For %h, use @code for %b.
For %Y, mention what happens with outlandish years.
(Padding and other flags): Renamed from Padding.
Mention that the flags are GNU extensions.
Mention the 0 and ^ flags.
Mention field widths an modifiers.
(Examples of date): - is a flag, not a modifier.
2005-02-24 00:27:44 +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
Jim Meyering f49bb33cff (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change. 2005-02-23 23:16:59 +00:00
Jim Meyering 3ef813f9bc *** empty log message *** 2005-02-23 13:53:22 +00:00
Jim Meyering f0e6764404 *** empty log message *** 2005-02-22 14:31:29 +00:00
Jim Meyering 8574504447 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/. 2005-02-22 14:31:26 +00:00
Jim Meyering c3d9ba45f3 *** empty log message *** 2005-02-22 07:50:20 +00:00
Jim Meyering 8dc2142b92 (gl_PREREQ): Require gl_STRIPSLASH and gl_LINEBUFFER. 2005-02-22 07:50:16 +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 df066e2695 (dd_LDADD, shred_LDADD): Add $(LIB_GETHRXTIME).
(nanosec_libs): Add $(LIB_XNANOSLEEP).  Needed for newer GNU/Linux
hosts with clock_gettime.
2005-02-22 07:10:07 +00:00
Paul Eggert dcf1114082 (gl_PREREQ): Require gl_XNANOSLEEP. 2005-02-22 07:09:37 +00:00
Paul Eggert 55c154ed7d (gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
gl_USE_SYSTEM_EXTENSIONS.  Check whether CLOCK_MONOTONIC is
defined, and set LIB_GETHRXTIME accordingly.  This is needed
for newer GNU/Linux systems that have clock_gettime, so that they
link in the appropriate library for it when needed.
2005-02-22 07:09:13 +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 0e1b33afd3 Initial revision. 2005-02-22 07:06:47 +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 3178b01865 (time): Remove obsolete decl.
(main): Gettime now returns void.
2005-02-21 08:17:00 +00:00
Paul Eggert 2ec39c3ada Include gethrxtime.h.
(isaac_seed): Use gethrxtime rather than a mishmash.
2005-02-21 08:15:45 +00:00
Paul Eggert 70c98ff92d (time): Remove obsolete decl.
(get_current_time): gettimeofday always returns 0, so don't
check its result.
2005-02-21 08:15:10 +00:00
Paul Eggert c339d6843e Include gethrxtime.h, xtime.h.
(start_time): Now of type xtime_t, not struct timespec.
(print_stats, main): Use gethrxtime rather than gettime.
2005-02-21 08:14:40 +00:00