1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-14 05:27:02 +02:00
Commit Graph

18380 Commits

Author SHA1 Message Date
Jim Meyering 171bf0969a Temporary work-around for the problem reported here:
http://sources.redhat.com/ml/automake/2004-05/msg00023.html
(FIXME: the number `23' may not be accurate)

(AM_GNU_GETTEXT): Don't require AM_INTL_SUBDIR.
(AM_INTL_SUBDIR): Comment out definition.
2004-05-03 11:03:14 +00:00
Jim Meyering de0d33afc8 *** empty log message *** 2004-05-01 16:45:58 +00:00
Jim Meyering 90158b2fda Remove unused file. 2004-05-01 16:45:39 +00:00
Jim Meyering 5e36b4bd51 Remove unused file. 2004-05-01 16:44:31 +00:00
Jim Meyering fbff21277b Remove unused file. 2004-05-01 16:43:46 +00:00
Jim Meyering 489cf2a649 Remove unused file. 2004-05-01 16:41:43 +00:00
Jim Meyering f358ae5a46 Remove unused file. 2004-05-01 16:41:02 +00:00
Jim Meyering 1a7c6d7ac2 Remove unused file. 2004-05-01 16:39:48 +00:00
Jim Meyering 8d4ea07eb8 Remove file. This is now part of mktime.m4. 2004-05-01 16:38:12 +00:00
Jim Meyering fb8bb7dda7 . 2004-05-01 16:20:22 +00:00
Jim Meyering 7ba3e328c6 . 2004-05-01 14:42:45 +00:00
Jim Meyering c7edb664e6 *** empty log message *** 2004-05-01 14:42:06 +00:00
Jim Meyering 84990aa0fc (gl_MACROS): Move fchown-checking code to chown.m4. 2004-05-01 14:42:00 +00:00
Jim Meyering 1c473ba843 (gl_PREREQ_CHOWN): Check for fcntl.h.
See if we need an fchown replacement.
(gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
(gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
and use the replacement function if we detect either defect.
2004-05-01 14:41:21 +00:00
Jim Meyering 87cb7bca64 (rpl_chown) [CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE]:
Wrap old code with this conditional.
[CHOWN_MODIFIES_SYMLINK]: Try to work around a chown
function that does not dereference symlinks.
2004-05-01 14:36:29 +00:00
Jim Meyering 83db4e147a When chown or chgrp is modifying the referent of a symlink,
use the chown(2) function, if possible.

(change_file_owner): Don't hard-code the
open/fchown/close kludge here.  Use `chown' instead.
The chown function works just fine on conforming systems.
Other systems now go through the new chown wrapper that
resorts to the old kludge.
2004-05-01 14:33:41 +00:00
Jim Meyering afef52af2f *** empty log message *** 2004-05-01 06:49:01 +00:00
Jim Meyering 27b510575d (change_file_owner): Add a comment. 2004-05-01 06:48:55 +00:00
Jim Meyering 70b9c50903 . 2004-04-29 16:03:21 +00:00
Jim Meyering 094bc55f63 Whoops: s/sc_src_tight_scope/sc_tight_scope/ 2004-04-28 12:42:14 +00:00
Jim Meyering 173f088735 . 2004-04-27 19:01:00 +00:00
Jim Meyering 372762d891 (syntax_table, re_syntax_table): Remove declarations of two unused
variables (they were exposed by the above change).
2004-04-27 18:39:21 +00:00
Jim Meyering 335b993492 Make over 40 global extern variables `static'. 2004-04-27 18:37:14 +00:00
Jim Meyering ee5d9d5b14 (sc_tight_scope): Also check for global variables, (BSS section). 2004-04-27 17:03:58 +00:00
Jim Meyering 74a28492df *** empty log message *** 2004-04-27 16:58:16 +00:00
Jim Meyering 6a9fd0063c Rename to sc_tight_scope.
(syntax-check-rules): Really add it.
2004-04-27 16:58:02 +00:00
Jim Meyering 3353acdf8f Rename to sc_tight_scope. 2004-04-27 16:57:23 +00:00
Jim Meyering f945a484b6 *** empty log message *** 2004-04-27 16:36:08 +00:00
Jim Meyering 72e9f1ce4b (backup_type): Declare `static'. 2004-04-27 16:36:03 +00:00
Jim Meyering ec38270d8e (opt_nul_terminate_output): Declare `static'. 2004-04-27 16:34:47 +00:00
Jim Meyering b480c61d5e (G_fail): Declare `static'. 2004-04-27 16:32:43 +00:00
Jim Meyering 4c59a5f180 *** empty log message *** 2004-04-27 15:02:35 +00:00
Jim Meyering a84b7ad221 (forget_created, remember_created)
(src_to_dest_lookup, remember_copied, hash_init, forget_all):
Add `extern' keyword.
2004-04-27 15:02:11 +00:00
Jim Meyering 68c7c2d2fa (dest_info_init, src_info_init, copy): Add `extern' keyword. 2004-04-27 15:01:31 +00:00
Jim Meyering 03f9a376a4 (chopt_init, chopt_free, gid_to_name, uid_to_name, chown_files):
Add `extern' keyword.
2004-04-27 15:01:12 +00:00
Jim Meyering b34611fd0f (rm): Add `extern' keyword. 2004-04-27 15:00:32 +00:00
Jim Meyering 37989d195a . 2004-04-27 14:57:48 +00:00
Jim Meyering 36968546e5 (sc_src_functions_have_static_scope): New rule. 2004-04-27 14:57:33 +00:00
Jim Meyering e014b02b5f *** empty log message *** 2004-04-27 14:57:17 +00:00
Jim Meyering 350228c3be (sc_src_functions_have_static_scope): New rule.
(syntax-check-rules): Add it.
2004-04-27 14:57:11 +00:00
Jim Meyering c09c476689 *** empty log message *** 2004-04-26 16:31:42 +00:00
Jim Meyering 53080d0a85 . 2004-04-26 16:31:14 +00:00
Jim Meyering b07f9bf8b6 *** empty log message *** 2004-04-26 15:45:53 +00:00
Jim Meyering b88eb38b98 Fix typo in env_default comment.
(18c, 18d): Reverse the order of output lines, so that the
test cases conform to POSIX.
2004-04-26 15:43:37 +00:00
Jim Meyering 9a3fee94a0 Fix typo in env_default comment. 2004-04-26 15:39:02 +00:00
Jim Meyering 79f8908c8a *** empty log message *** 2004-04-26 15:38:16 +00:00
Jim Meyering c20e6668c8 (sort invocation): Mention -k earlier, so
that the options are in alphabetical order.  Describe how -b works
more-accurately; this involves fixing some examples, too.  Mention
what happens if the start field falls after an end field or after
a line end.  Warn about using -k without -b, -g, -M, -n, or -t.
Add an example of how to sort IPv4 addresses and Apache Common
Log Format dates.  Remove a duplicate example.
(Putting the tools together): Use separate options rather
than agglomerating them.
2004-04-26 15:37:48 +00:00
Jim Meyering 30ea278e1b (limfield): Make a comment clearer. 2004-04-26 15:37:33 +00:00
Jim Meyering 41cc9a718a Fix POSIX-conformance bug: "sort -k 3,3.5b" is supposed to skip
leading blanks when computing the location of the field end;
it is not supposed to skip trailing blanks.  Solaris 8 "sort"
does conform to POSIX.  Also fix the documentation to clarify
this and related issues.

(limfield): Use skipeblanks, not skipsblanks, to
decode whether to skip leading blanks.
(trailing_blanks): Remove.
(fillbuf, getmonth, keycompare): Don't trim trailing blanks.
2004-04-26 15:31:13 +00:00
Jim Meyering 431d661863 update from master 2004-04-26 13:59:35 +00:00