Commit Graph
15907 Commits
Author SHA1 Message Date
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
Jim Meyering f0018a3b9c Improve performance by invoking gettext twice at the start,
instead of once for each file.
(long_time_format): New var.
(decode_switches): Initialize it, if format == long_format.
(print_long_format): Use it.
2000-12-31 09:06:54 +00:00
Jim Meyering 9adb2c7cf1 *** empty log message *** 2000-12-31 08:55:58 +00:00
Jim Meyering 857c948551 (print_long_format): Don't dump core if strftime returns the empty string. 2000-12-31 08:55:41 +00:00
Jim Meyering 33cf956fc8 *** empty log message *** 2000-12-31 08:33:59 +00:00
Jim Meyering 66816a3514 (gobble_file): If not using long format, don't invoke acl; it's not needed. 2000-12-31 08:33:49 +00:00
Jim Meyering 6417617d33 *** empty log message *** 2000-12-31 08:30:28 +00:00
Jim Meyering 769b95b751 Avoid an unnecessary `stat' when using --dereference.
(same_file_ok): Use stat only if lstat reported that
the file was a symbolic link.
2000-12-31 08:29:17 +00:00