platform/upstream/coreutils.git
23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 13:44:13 +0000 (13:44 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Wed, 10 Jan 2001 12:20:03 +0000 (12:20 +0000)]
.

23 years ago(TESTS): Add into-self.
Jim Meyering [Wed, 10 Jan 2001 12:19:05 +0000 (12:19 +0000)]
(TESTS): Add into-self.

23 years ago(copy_internal): Add a comment.
Jim Meyering [Wed, 10 Jan 2001 12:18:19 +0000 (12:18 +0000)]
(copy_internal): Add a comment.
Set *copy_into_self in the new code that detects that.
Make diagnostic more consistent: s/won't/will not/.
[move_mode, copy_into_self]: Give a diagnstic here, now that
we have the top_level_* globals.  Remove the corresponding diagnostic
from mv.c.
Add a FIXME comment.

23 years ago(do_move): Remove diagnostic, now that copy.c issues it.
Jim Meyering [Wed, 10 Jan 2001 12:16:52 +0000 (12:16 +0000)]
(do_move): Remove diagnostic, now that copy.c issues it.
Set `fail' to nonzero in the primary `if (copy_into_self)' block
rather than in its own tiny one below.

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 11:56:59 +0000 (11:56 +0000)]
*** empty log message ***

23 years ago[struct entry] (node): Describe how it's used,
Jim Meyering [Wed, 10 Jan 2001 11:54:53 +0000 (11:54 +0000)]
[struct entry] (node): Describe how it's used,
now that we've overloaded it a little, in order to detect and diagnose
the copying-directory-into-self problem.
(new_file): Remove global.
(htab): Declare global to be static.
(remember_created): Insert file name instead of dummy pointer, so
that copy.c can use the just-created directory name to detect
the copying-directory-into-self problem.

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 10:29:57 +0000 (10:29 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 10:27:09 +0000 (10:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:58:43 +0000 (09:58 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:56:04 +0000 (09:56 +0000)]
*** empty log message ***

23 years ago(copy_internal): Don't allow cp (or mv, when working
Jim Meyering [Wed, 10 Jan 2001 09:43:36 +0000 (09:43 +0000)]
(copy_internal): Don't allow cp (or mv, when working
across a partition boundary) to overwrite a non-directory with a directory.

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:42:16 +0000 (09:42 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:41:46 +0000 (09:41 +0000)]
*** empty log message ***

23 years ago(TESTS): Add dir-vs-file.
Jim Meyering [Wed, 10 Jan 2001 09:41:41 +0000 (09:41 +0000)]
(TESTS): Add dir-vs-file.

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:41:15 +0000 (09:41 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:40:47 +0000 (09:40 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:40:05 +0000 (09:40 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 10 Jan 2001 09:39:57 +0000 (09:39 +0000)]
*** empty log message ***

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

23 years ago*** empty log message ***
Jim Meyering [Tue, 9 Jan 2001 16:13:29 +0000 (16:13 +0000)]
*** empty log message ***

23 years agoadd comment
Jim Meyering [Tue, 9 Jan 2001 16:12:59 +0000 (16:12 +0000)]
add comment

23 years ago(top_level_src_path, top_level_dst_path): New globals.
Jim Meyering [Tue, 9 Jan 2001 16:07:40 +0000 (16:07 +0000)]
(top_level_src_path, top_level_dst_path): New globals.
(copy_internal): Use them.
(copy): Set them.

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

23 years agowhoops. move printf args, too
Jim Meyering [Mon, 8 Jan 2001 08:34:52 +0000 (08:34 +0000)]
whoops.  move printf args, too

23 years ago(usage): Split long message string.
Jim Meyering [Sun, 7 Jan 2001 16:15:37 +0000 (16:15 +0000)]
(usage): Split long message string.

23 years ago*** empty log message ***
Jim Meyering [Sun, 7 Jan 2001 16:13:34 +0000 (16:13 +0000)]
*** empty log message ***

23 years agoSplit a string that was longer than 2048 bytes.
Jim Meyering [Sun, 7 Jan 2001 16:13:27 +0000 (16:13 +0000)]
Split a string that was longer than 2048 bytes.

23 years ago(usage): Split a string that was longer than 2048 bytes.
Jim Meyering [Sun, 7 Jan 2001 16:11:14 +0000 (16:11 +0000)]
(usage): Split a string that was longer than 2048 bytes.

23 years ago(usage): Split a string that was longer than 2048 bytes.
Jim Meyering [Sun, 7 Jan 2001 16:10:50 +0000 (16:10 +0000)]
(usage): Split a string that was longer than 2048 bytes.

23 years agoback out last, prematurely-committed, change
Jim Meyering [Sun, 7 Jan 2001 16:07:33 +0000 (16:07 +0000)]
back out last, prematurely-committed, change

23 years agoCorrect the indentation of an `#endif'.
Jim Meyering [Sun, 7 Jan 2001 16:06:27 +0000 (16:06 +0000)]
Correct the indentation of an `#endif'.

23 years agoclean up after commit hook testing
Jim Meyering [Sun, 7 Jan 2001 10:57:29 +0000 (10:57 +0000)]
clean up after commit hook testing

23 years agotesting -- commit should fail
Jim Meyering [Sun, 7 Jan 2001 10:54:06 +0000 (10:54 +0000)]
testing -- commit should fail

23 years agotesting -- commit should fail
Jim Meyering [Sun, 7 Jan 2001 10:52:43 +0000 (10:52 +0000)]
testing -- commit should fail

23 years agotesting -- commit should fail
Jim Meyering [Sun, 7 Jan 2001 10:51:00 +0000 (10:51 +0000)]
testing -- commit should fail

23 years ago(usage): Untabify.
Jim Meyering [Sun, 7 Jan 2001 10:12:25 +0000 (10:12 +0000)]
(usage): Untabify.

23 years ago*** empty log message ***
Jim Meyering [Sun, 7 Jan 2001 10:12:16 +0000 (10:12 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 7 Jan 2001 09:23:28 +0000 (09:23 +0000)]
*** empty log message ***

23 years agos/can not/cannot/
Jim Meyering [Sun, 7 Jan 2001 09:23:18 +0000 (09:23 +0000)]
s/can not/cannot/

23 years ago*** empty log message ***
Jim Meyering [Sun, 7 Jan 2001 09:21:41 +0000 (09:21 +0000)]
*** empty log message ***

23 years ago(parse_group): Normalize spelling.
Jim Meyering [Sun, 7 Jan 2001 09:21:34 +0000 (09:21 +0000)]
(parse_group): Normalize spelling.

23 years agonormalize spelling in comment
Jim Meyering [Sun, 7 Jan 2001 09:20:47 +0000 (09:20 +0000)]
normalize spelling in comment

23 years ago*** empty log message ***
Jim Meyering [Thu, 4 Jan 2001 17:59:32 +0000 (17:59 +0000)]
*** empty log message ***

23 years ago(main): Fail when --rfc-822 (-R) is specified along
Jim Meyering [Thu, 4 Jan 2001 17:59:22 +0000 (17:59 +0000)]
(main): Fail when --rfc-822 (-R) is specified along
with a format string.  Reported by Jochen Hein.

23 years ago.
Jim Meyering [Thu, 4 Jan 2001 14:00:07 +0000 (14:00 +0000)]
.

23 years ago.
Jim Meyering [Thu, 4 Jan 2001 10:19:49 +0000 (10:19 +0000)]
.

23 years agoSync with glibc time/strftime.c 1.81.
Jim Meyering [Thu, 4 Jan 2001 10:19:43 +0000 (10:19 +0000)]
Sync with glibc time/strftime.c 1.81.

23 years ago.
Jim Meyering [Wed, 3 Jan 2001 21:04:52 +0000 (21:04 +0000)]
.

23 years agoUse the more precise algorithm of GNU "make" to decide whether
Jim Meyering [Wed, 3 Jan 2001 21:02:08 +0000 (21:02 +0000)]
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.

23 years agocheck for existing behavior
Jim Meyering [Wed, 3 Jan 2001 16:16:56 +0000 (16:16 +0000)]
check for existing behavior

23 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jan 2001 11:37:46 +0000 (11:37 +0000)]
*** empty log message ***

23 years ago(main): Remove embedded \n from diagnostic.
Jim Meyering [Wed, 3 Jan 2001 11:36:10 +0000 (11:36 +0000)]
(main): Remove embedded \n from diagnostic.

23 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jan 2001 10:16:14 +0000 (10:16 +0000)]
*** empty log message ***

23 years ago(AM_GNU_GETTEXT): Define MKINSTALLDIRS by
Jim Meyering [Wed, 3 Jan 2001 10:16:02 +0000 (10:16 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jan 2001 10:09:08 +0000 (10:09 +0000)]
*** empty log message ***

23 years ago(print_unicode_char): Remove `const' from declaration of
Jim Meyering [Wed, 3 Jan 2001 10:08:43 +0000 (10:08 +0000)]
(print_unicode_char): Remove `const' from declaration of
local `inptr' to avoid warning with some system declarations of iconv.

23 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jan 2001 10:06:53 +0000 (10:06 +0000)]
*** empty log message ***

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

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

23 years ago*** empty log message ***
Jim Meyering [Wed, 3 Jan 2001 09:45:43 +0000 (09:45 +0000)]
*** empty log message ***

23 years ago(install-data-yes): If the package is
Jim Meyering [Wed, 3 Jan 2001 09:45:32 +0000 (09:45 +0000)]
(install-data-yes): If the package is
fileutils, install LC_TIME as an alias for LC_MESSAGES.

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.