Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering 3145fdd1ed (show_disk, show_point): If several filesystems are
mounted on the same mount point, prefer the last one, not the first.
Problem reported by Christian Jones in
<http://mail.gnu.org/archive/html/bug-coreutils/2004-04/msg00200.html>.
(show_disk): Remove unused statp arg.  Return bool, not int.
(show_point): Rewrite to avoid gotos.  Use the same algorithm
for lofs and dummies for each pass through the mount table,
rather than subtly different algorithms (which are probably
inadvertent).
2004-05-04 07:26:33 +00:00
Jim Meyering b9c20c62fb *** empty log message *** 2004-05-03 12:50:32 +00:00
Jim Meyering bf006459d8 (lchown) [CHOWN_MODIFIES_SYMLINK]: Just call chown. 2004-05-03 12:50:24 +00:00
Jim Meyering b0ee1e8b78 *** empty log message *** 2004-05-03 11:52:46 +00:00
Jim Meyering 752efcbdb0 *** empty log message *** 2004-05-03 11:52:39 +00:00
Jim Meyering edb4b69e61 (EXTRA_DIST): Add m4/ChangeLog, now that we no longer have m4/Makefile*. 2004-05-03 11:52:33 +00:00
Jim Meyering 95adc0cbfc *** empty log message *** 2004-05-03 11:50:52 +00:00
Jim Meyering 617884e704 . 2004-05-03 11:07:59 +00:00
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