platform/upstream/coreutils.git
23 years ago(dcgettext): New macro.
Jim Meyering [Wed, 3 Jan 2001 09:44:56 +0000 (09:44 +0000)]
(dcgettext): New macro.

23 years ago(decode_switches): Use dcgettext with LC_TIME,
Jim Meyering [Wed, 3 Jan 2001 09:44:15 +0000 (09:44 +0000)]
(decode_switches): Use dcgettext with LC_TIME,
not plain gettext, to get the translations of time formats.

23 years ago.
Jim Meyering [Wed, 3 Jan 2001 09:38:55 +0000 (09:38 +0000)]
.

23 years ago(long_time_expected_width): New function.
Jim Meyering [Wed, 3 Jan 2001 09:15:22 +0000 (09:15 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Tue, 2 Jan 2001 15:50:18 +0000 (15:50 +0000)]
*** empty log message ***

23 years ago(ulonglong_t): Define place-holder type to avoid some #if directives.
Jim Meyering [Tue, 2 Jan 2001 15:48:21 +0000 (15:48 +0000)]
(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.

23 years ago.
Jim Meyering [Tue, 2 Jan 2001 15:31:41 +0000 (15:31 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Tue, 2 Jan 2001 10:55:34 +0000 (10:55 +0000)]
*** empty log message ***

23 years ago(decode_one_format): Guard use of print_long_long with
Jim Meyering [Tue, 2 Jan 2001 10:54:55 +0000 (10:54 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Tue, 2 Jan 2001 10:44:38 +0000 (10:44 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 2 Jan 2001 07:21:36 +0000 (07:21 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 2 Jan 2001 07:20:13 +0000 (07:20 +0000)]
*** empty log message ***

23 years agocopyright
Jim Meyering [Tue, 2 Jan 2001 07:19:59 +0000 (07:19 +0000)]
copyright

23 years ago(print_long_format):
Jim Meyering [Tue, 2 Jan 2001 07:18:56 +0000 (07:18 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Tue, 2 Jan 2001 07:14:47 +0000 (07:14 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Mon, 1 Jan 2001 18:17:10 +0000 (18:17 +0000)]
.

23 years ago(jm_PREREQ_READUTMP): Include utmp.h (if available), even
Jim Meyering [Mon, 1 Jan 2001 18:16:52 +0000 (18:16 +0000)]
(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.

23 years ago.
Jim Meyering [Mon, 1 Jan 2001 18:09:31 +0000 (18:09 +0000)]
.

23 years ago(jm_CHECK_DECLS): Include grp.h and pwd.h if available.
Jim Meyering [Mon, 1 Jan 2001 18:08:48 +0000 (18:08 +0000)]
(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.

23 years ago.
Jim Meyering [Mon, 1 Jan 2001 10:59:50 +0000 (10:59 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Mon, 1 Jan 2001 10:52:32 +0000 (10:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 1 Jan 2001 10:51:32 +0000 (10:51 +0000)]
*** empty log message ***

23 years ago(TESTS): Add setgid.
Jim Meyering [Mon, 1 Jan 2001 10:51:22 +0000 (10:51 +0000)]
(TESTS): Add setgid.

23 years ago*** empty log message ***
Jim Meyering [Mon, 1 Jan 2001 10:49:52 +0000 (10:49 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 31 Dec 2000 13:24:28 +0000 (13:24 +0000)]
*** empty log message ***

23 years ago(AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
Jim Meyering [Sun, 31 Dec 2000 12:15:42 +0000 (12:15 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Sun, 31 Dec 2000 12:12:41 +0000 (12:12 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 31 Dec 2000 09:51:50 +0000 (09:51 +0000)]
.

23 years ago.
Jim Meyering [Sun, 31 Dec 2000 09:49:33 +0000 (09:49 +0000)]
.

23 years agoFile renamed from tests/sticky-check.
Jim Meyering [Sun, 31 Dec 2000 09:49:23 +0000 (09:49 +0000)]
File renamed from tests/sticky-check.
All uses of "sticky" changed to "setgid".

23 years agosticky-check -> setgid-check
Jim Meyering [Sun, 31 Dec 2000 09:48:35 +0000 (09:48 +0000)]
sticky-check -> setgid-check

23 years agosticky-check -> setgid-check
Jim Meyering [Sun, 31 Dec 2000 09:48:10 +0000 (09:48 +0000)]
sticky-check -> setgid-check

23 years agosticky-check -> setgid-check
Jim Meyering [Sun, 31 Dec 2000 09:46:15 +0000 (09:46 +0000)]
sticky-check -> setgid-check

23 years ago*** empty log message ***
Jim Meyering [Sun, 31 Dec 2000 09:21:28 +0000 (09:21 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 31 Dec 2000 09:19:25 +0000 (09:19 +0000)]
.

23 years ago(TESTS): Add deref-slink.
Jim Meyering [Sun, 31 Dec 2000 09:17:00 +0000 (09:17 +0000)]
(TESTS): Add deref-slink.

23 years agoNew file. Test for the bug fixed by my 2000-12-28 change to copy.c.
Jim Meyering [Sun, 31 Dec 2000 09:15:44 +0000 (09:15 +0000)]
New file.  Test for the bug fixed by my 2000-12-28 change to copy.c.

23 years agoImprove performance by invoking gettext twice at the start,
Jim Meyering [Sun, 31 Dec 2000 09:06:54 +0000 (09:06 +0000)]
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.

23 years ago*** empty log message ***
Jim Meyering [Sun, 31 Dec 2000 08:55:58 +0000 (08:55 +0000)]
*** empty log message ***

23 years ago(print_long_format): Don't dump core if strftime returns the empty string.
Jim Meyering [Sun, 31 Dec 2000 08:55:41 +0000 (08:55 +0000)]
(print_long_format): Don't dump core if strftime returns the empty string.

23 years ago*** empty log message ***
Jim Meyering [Sun, 31 Dec 2000 08:33:59 +0000 (08:33 +0000)]
*** empty log message ***

23 years ago(gobble_file): If not using long format, don't invoke acl; it's not needed.
Jim Meyering [Sun, 31 Dec 2000 08:33:49 +0000 (08:33 +0000)]
(gobble_file): If not using long format, don't invoke acl; it's not needed.

23 years ago*** empty log message ***
Jim Meyering [Sun, 31 Dec 2000 08:30:28 +0000 (08:30 +0000)]
*** empty log message ***

23 years agoAvoid an unnecessary `stat' when using --dereference.
Jim Meyering [Sun, 31 Dec 2000 08:29:17 +0000 (08:29 +0000)]
Avoid an unnecessary `stat' when using --dereference.

(same_file_ok): Use stat only if lstat reported that
the file was a symbolic link.

23 years ago*** empty log message ***
Jim Meyering [Sat, 30 Dec 2000 16:51:42 +0000 (16:51 +0000)]
*** empty log message ***

23 years agoappend-only directories -> restricted deletion flag,
Jim Meyering [Sat, 30 Dec 2000 16:51:24 +0000 (16:51 +0000)]
append-only directories -> restricted deletion flag,
which is the term that POSIX d5 uses for this notion.

23 years ago*** empty log message ***
Jim Meyering [Fri, 29 Dec 2000 10:32:33 +0000 (10:32 +0000)]
*** empty log message ***

23 years agoDo not assume that mode_t uses the
Jim Meyering [Fri, 29 Dec 2000 10:32:09 +0000 (10:32 +0000)]
Do not assume that mode_t uses the
traditional octal encoding.  E.g. "chmod 1 FOO" should set
the other-execute bit of FOO even if S_IXOTH != 1.

(SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH,
WOTH, XOTH, ALLM): New macros.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
 S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH):
Use them.
(S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID.
(S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above.
(mode_compile):
No need to use uintmax_t; unsigned long is long enough.
Don't bother to get suffix since we don't use it.

23 years ago*** empty log message ***
Jim Meyering [Fri, 29 Dec 2000 08:58:38 +0000 (08:58 +0000)]
*** empty log message ***

23 years agoTry /usr/xpg4/bin/id (Solaris 7) if plain 'id' doesn't work.
Jim Meyering [Fri, 29 Dec 2000 08:58:25 +0000 (08:58 +0000)]
Try /usr/xpg4/bin/id (Solaris 7) if plain 'id' doesn't work.

23 years ago.
Jim Meyering [Thu, 28 Dec 2000 14:43:13 +0000 (14:43 +0000)]
.

23 years agoRun sticky-check from just-created directory.
Jim Meyering [Thu, 28 Dec 2000 14:40:15 +0000 (14:40 +0000)]
Run sticky-check from just-created directory.

23 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 13:35:28 +0000 (13:35 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Thu, 28 Dec 2000 13:17:02 +0000 (13:17 +0000)]
.

23 years agotweak comment
Jim Meyering [Thu, 28 Dec 2000 11:52:28 +0000 (11:52 +0000)]
tweak comment

23 years agotweak comment
Jim Meyering [Thu, 28 Dec 2000 11:31:44 +0000 (11:31 +0000)]
tweak comment

23 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 11:23:55 +0000 (11:23 +0000)]
*** empty log message ***

23 years ago(same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
Jim Meyering [Thu, 28 Dec 2000 11:22:59 +0000 (11:22 +0000)]
(same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.

23 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 09:53:58 +0000 (09:53 +0000)]
*** empty log message ***

23 years ago(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
Jim Meyering [Thu, 28 Dec 2000 09:53:34 +0000 (09:53 +0000)]
(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.

23 years ago(same_file_ok): Use a single auto var for
Jim Meyering [Thu, 28 Dec 2000 09:42:06 +0000 (09:42 +0000)]
(same_file_ok): Use a single auto var for
tmp_dst_sb, instead of two static vars.
Likewise for tmp_src_sb.

23 years ago*** empty log message ***
Jim Meyering [Thu, 28 Dec 2000 09:41:39 +0000 (09:41 +0000)]
*** empty log message ***

23 years ago. FILEUTILS-4_0_35
Jim Meyering [Wed, 27 Dec 2000 10:05:05 +0000 (10:05 +0000)]
.

23 years ago.
Jim Meyering [Wed, 27 Dec 2000 07:47:08 +0000 (07:47 +0000)]
.

23 years ago.
Jim Meyering [Wed, 27 Dec 2000 07:46:47 +0000 (07:46 +0000)]
.

23 years agouse AC_DEFINE_UNQUOTED
Jim Meyering [Wed, 27 Dec 2000 07:46:35 +0000 (07:46 +0000)]
use AC_DEFINE_UNQUOTED

23 years ago(jm_AC_DOS): Rewrite (though it's still a stub) to work better with autoheader.
Jim Meyering [Tue, 26 Dec 2000 18:57:53 +0000 (18:57 +0000)]
(jm_AC_DOS): Rewrite (though it's still a stub) to work better with autoheader.

23 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 11:34:34 +0000 (11:34 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 09:39:17 +0000 (09:39 +0000)]
*** empty log message ***

23 years agotweak comment, white space
Jim Meyering [Tue, 26 Dec 2000 09:36:36 +0000 (09:36 +0000)]
tweak comment, white space

23 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 08:51:59 +0000 (08:51 +0000)]
*** empty log message ***

23 years agoDisable the test if the working directory has the sticky bit set.
Jim Meyering [Tue, 26 Dec 2000 08:51:51 +0000 (08:51 +0000)]
Disable the test if the working directory has the sticky bit set.

23 years ago*** empty log message ***
Jim Meyering [Tue, 26 Dec 2000 08:43:15 +0000 (08:43 +0000)]
*** empty log message ***

23 years agoDisable the test if the working directory has the sticky bit set.
Jim Meyering [Tue, 26 Dec 2000 08:43:03 +0000 (08:43 +0000)]
Disable the test if the working directory has the sticky bit set.

23 years agoadd omitted semicolon
Jim Meyering [Mon, 25 Dec 2000 18:51:58 +0000 (18:51 +0000)]
add omitted semicolon

23 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 18:38:19 +0000 (18:38 +0000)]
*** empty log message ***

23 years ago(same_file_ok): Remove declaration and set of unused
Jim Meyering [Mon, 25 Dec 2000 18:35:16 +0000 (18:35 +0000)]
(same_file_ok): Remove declaration and set of unused
variables: src_sb_no_link, dst_sb_no_link.

23 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 18:31:25 +0000 (18:31 +0000)]
*** empty log message ***

23 years agoAdd a test for this (for all of cp, mv, ln, install).
Jim Meyering [Mon, 25 Dec 2000 18:31:18 +0000 (18:31 +0000)]
Add a test for this (for all of cp, mv, ln, install).

23 years agoFor both ln and install, when using `--backup=simple --suffix=S',
Jim Meyering [Mon, 25 Dec 2000 11:07:20 +0000 (11:07 +0000)]
For both ln and install, when using `--backup=simple --suffix=S',
the suffix `S' wasn't used.

(main): Actually use the local variable, `backup_suffix_string'.

23 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 10:45:20 +0000 (10:45 +0000)]
*** empty log message ***

23 years ago(hash_compare_active_dir_ents): Return explicit `true'
Jim Meyering [Mon, 25 Dec 2000 10:45:10 +0000 (10:45 +0000)]
(hash_compare_active_dir_ents): Return explicit `true'
or `false', rather than relying on implicit int-to-enum cast.

23 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 10:41:52 +0000 (10:41 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 25 Dec 2000 10:40:42 +0000 (10:40 +0000)]
*** empty log message ***

23 years ago(extract_dirs_from_files): Remove unused variable.
Jim Meyering [Mon, 25 Dec 2000 10:39:04 +0000 (10:39 +0000)]
(extract_dirs_from_files): Remove unused variable.
(gobble_file): Move decl of local, val, into the scope where it's used.

23 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 18:02:18 +0000 (18:02 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 17:58:16 +0000 (17:58 +0000)]
*** empty log message ***

23 years ago(main): Actually use the local variable, `backup_suffix_string'.
Jim Meyering [Sun, 24 Dec 2000 17:56:51 +0000 (17:56 +0000)]
(main): Actually use the local variable, `backup_suffix_string'.

23 years agowhoops
Jim Meyering [Sun, 24 Dec 2000 17:53:05 +0000 (17:53 +0000)]
whoops

23 years agodetect ln simple backup bug
Jim Meyering [Sun, 24 Dec 2000 13:49:29 +0000 (13:49 +0000)]
detect ln simple backup bug

23 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 10:06:00 +0000 (10:06 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 24 Dec 2000 09:39:04 +0000 (09:39 +0000)]
*** empty log message ***

23 years agoUpdate to version 1.24.
Jim Meyering [Sun, 24 Dec 2000 09:34:17 +0000 (09:34 +0000)]
Update to version 1.24.

23 years ago(is_prime): Return explicit boolean values.
Jim Meyering [Sun, 24 Dec 2000 07:12:21 +0000 (07:12 +0000)]
(is_prime): Return explicit boolean values.
(hash_get_first): Return NULL to appease Irix5.6's 89.

23 years ago. TEXTUTILS-2_0_11
Jim Meyering [Sat, 23 Dec 2000 10:44:25 +0000 (10:44 +0000)]
.

23 years ago[HAVE_INTTYPES_H]: Include <inttypes.h>. FILEUTILS-4_0_34
Jim Meyering [Sat, 23 Dec 2000 10:43:33 +0000 (10:43 +0000)]
[HAVE_INTTYPES_H]: Include <inttypes.h>.

23 years ago*** empty log message ***
Jim Meyering [Fri, 22 Dec 2000 22:45:32 +0000 (22:45 +0000)]
*** empty log message ***

23 years ago(isaac_seed_machdep) [_ARCH_PPC]: Disable the code
Jim Meyering [Fri, 22 Dec 2000 22:44:30 +0000 (22:44 +0000)]
(isaac_seed_machdep) [_ARCH_PPC]: Disable the code
that would use the PPC mfspr `asm' code.

23 years ago.
Jim Meyering [Tue, 19 Dec 2000 11:06:05 +0000 (11:06 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Tue, 19 Dec 2000 10:51:39 +0000 (10:51 +0000)]
*** empty log message ***