Jim Meyering
550edf90b2
Use the more precise algorithm of GNU "make" to decide whether
...
a file is in the future, by looking at high-resolution time
stamps if available.
(TIMESPEC_NS): New macro.
(current_time): Initialize to the minimum value.
(current_time_ns): New var.
(main): Do not bother to initialize current_time;
it's no longer needed.
(get_current_time): New function.
(print_long_format): Use it when a file appears to be in the future.
Get the nanoseconds of the file's time stamp, if available,
and use that to decide whether the file appears to be in the future.
2001-01-03 21:02:08 +00:00
Jim Meyering
f3aa989205
check for existing behavior
2001-01-03 16:16:56 +00:00
Jim Meyering
f8a894c567
*** empty log message ***
2001-01-03 11:37:46 +00:00
Jim Meyering
a0439c2405
(main): Remove embedded \n from diagnostic.
2001-01-03 11:36:10 +00:00
Jim Meyering
edfabc70d3
*** empty log message ***
2001-01-03 10:16:14 +00:00
Jim Meyering
9e14c22918
(AM_GNU_GETTEXT): Define MKINSTALLDIRS by
...
expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
so `make install' also works in VPATH builds.
2001-01-03 10:16:02 +00:00
Jim Meyering
f3334434ea
*** empty log message ***
2001-01-03 10:09:08 +00:00
Jim Meyering
5686f159ab
(print_unicode_char): Remove `const' from declaration of
...
local `inptr' to avoid warning with some system declarations of iconv.
2001-01-03 10:08:43 +00:00
Jim Meyering
b7f12e5291
*** empty log message ***
2001-01-03 10:06:53 +00:00
Jim Meyering
954daed8c2
.
2001-01-03 09:47:20 +00:00
Jim Meyering
b042ca3c0f
(long_time_expected_width, print_long_format): Fix
...
bug: the initial byte passed to strftime wasn't initialized to
a nonzero value after the buffer was reallocated.
2001-01-03 09:47:09 +00:00
Jim Meyering
5d3b5e175a
*** empty log message ***
2001-01-03 09:45:43 +00:00
Jim Meyering
1f13191b6f
(install-data-yes): If the package is
...
fileutils, install LC_TIME as an alias for LC_MESSAGES.
2001-01-03 09:45:32 +00:00
Jim Meyering
5aa665a624
(dcgettext): New macro.
2001-01-03 09:44:56 +00:00
Jim Meyering
85a5e683e8
(decode_switches): Use dcgettext with LC_TIME,
...
not plain gettext, to get the translations of time formats.
2001-01-03 09:44:15 +00:00
Jim Meyering
e646037f4a
.
2001-01-03 09:38:55 +00:00
Jim Meyering
536a6dd3ce
(long_time_expected_width): New function.
...
(print_long_format): Use it, so that we don't assume a
particular width for time stamps in an internationalized
environment.
2001-01-03 09:15:22 +00:00
Jim Meyering
701cc3fe2c
*** empty log message ***
2001-01-02 15:50:18 +00:00
Jim Meyering
22fc5f7ac9
(ulonglong_t): Define place-holder type to avoid some #if directives.
...
(LONGEST_INTEGRAL_TYPE): Remove definition.
(MAX_INTEGRAL_TYPE_SIZE): Use ulonglong_t instead of LONGEST_INTEGRAL_TYPE.
(print_long_long): Compile this function even on systems without
long long support.
(decode_one_format): Remove #if directive.
2001-01-02 15:48:21 +00:00
Jim Meyering
4dcf0e2c7b
.
2001-01-02 15:31:41 +00:00
Jim Meyering
67aea68e97
*** empty log message ***
2001-01-02 10:55:34 +00:00
Jim Meyering
2320b98d89
(decode_one_format): Guard use of print_long_long with
...
`#if HAVE_UNSIGNED_LONG_LONG'. From Darren Salt.
Change all `#ifdef HAVE_UNSIGNED_LONG_LONG' to use `#if' instead.
2001-01-02 10:54:55 +00:00
Jim Meyering
4f90505509
*** empty log message ***
2001-01-02 10:44:38 +00:00
Jim Meyering
4fcf9133ef
*** empty log message ***
2001-01-02 07:21:36 +00:00
Jim Meyering
1f29ee0e02
*** empty log message ***
2001-01-02 07:20:13 +00:00
Jim Meyering
5285933ed8
copyright
2001-01-02 07:19:59 +00:00
Jim Meyering
1efbe325bd
(print_long_format):
...
Report the year for files even slightly in the future.
Avoid overflow problems near Y2038 on 32-bit hosts.
To calculate "six months", take half the average Gregorian
year, not 180 days.
2001-01-02 07:18:56 +00:00
Jim Meyering
1f678f44f9
*** empty log message ***
2001-01-02 07:14:47 +00:00
Jim Meyering
895cf6e91f
.
2001-01-01 18:17:10 +00:00
Jim Meyering
682bc57d89
(jm_PREREQ_READUTMP): Include utmp.h (if available), even
...
on systems with utmpx.h. It's necessary for the declaration of utmp's
ut_user member. Reported by Andreas Jaeger.
2001-01-01 18:16:52 +00:00
Jim Meyering
74ac72a78f
.
2001-01-01 18:09:31 +00:00
Jim Meyering
f324aa68f9
(jm_CHECK_DECLS): Include grp.h and pwd.h if available.
...
They are required for the declarations of getgrgid and getpwuid resp.
(_jm_DECL_HEADERS): Check for grp.h and pwd.h.
2001-01-01 18:08:48 +00:00
Jim Meyering
88db6b6944
.
2001-01-01 10:59:50 +00:00
Jim Meyering
387d125c2d
*** empty log message ***
2001-01-01 10:52:32 +00:00
Jim Meyering
fd77d94155
*** empty log message ***
2001-01-01 10:51:32 +00:00
Jim Meyering
137c6d5137
(TESTS): Add setgid.
2001-01-01 10:51:22 +00:00
Jim Meyering
671567d496
*** empty log message ***
2001-01-01 10:49:52 +00:00
Jim Meyering
aa3ef39ac8
*** empty log message ***
2000-12-31 13:24:28 +00:00
Jim Meyering
b360fa26e5
(AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
...
prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
can be used in subdirectories.
2000-12-31 12:15:42 +00:00
Jim Meyering
168401bef2
*** empty log message ***
2000-12-31 12:12:41 +00:00
Jim Meyering
9ecf7a54be
.
2000-12-31 09:51:50 +00:00
Jim Meyering
b46b6af7e3
.
2000-12-31 09:49:33 +00:00
Jim Meyering
318e97ef64
File renamed from tests/sticky-check.
...
All uses of "sticky" changed to "setgid".
2000-12-31 09:49:23 +00:00
Jim Meyering
9b525d2fe1
sticky-check -> setgid-check
2000-12-31 09:48:35 +00:00
Jim Meyering
7a5e723600
sticky-check -> setgid-check
2000-12-31 09:48:10 +00:00
Jim Meyering
9a2e78d703
sticky-check -> setgid-check
2000-12-31 09:46:15 +00:00
Jim Meyering
b28d611552
*** empty log message ***
2000-12-31 09:21:28 +00:00
Jim Meyering
f39ef82a14
.
2000-12-31 09:19:25 +00:00
Jim Meyering
c76348c318
(TESTS): Add deref-slink.
2000-12-31 09:17:00 +00:00
Jim Meyering
dd9804a4fe
New file. Test for the bug fixed by my 2000-12-28 change to copy.c.
2000-12-31 09:15:44 +00:00