Commit Graph
21599 Commits
Author SHA1 Message Date
Jim Meyering 68aaaf5ca0 Require gl_FUNC_CHOWN, for the definition of
CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
2005-09-01 18:06:54 +00:00
Jim Meyering 7a998d1011 *** empty log message *** 2005-08-31 07:51:07 +00:00
Jim Meyering db875eadae (quotearg_n_options): Change code to be suboptimal, in
order to avoid an unsuppressible warning from gcc on 64-bit systems.
2005-08-31 07:51:04 +00:00
Jim Meyering 30a8d137dd *** empty log message *** 2005-08-31 07:20:21 +00:00
Jim Meyering b2678575aa (get_charset_aliases): Add `void' in parameter list
to placate gcc's -Wstrict-prototypes.
2005-08-31 07:19:26 +00:00
Paul Eggert b23625f623 "rm -FOO" now suggests "rm ./-FOO" if the file "-FOO"
exists and "-FOO" is not a valid option.
2005-08-29 21:14:06 +00:00
Paul Eggert 6334db91d3 Include lstat.h, quotearg.h.
(diagnose_leading_hyphen): New function.
(main): Use it.
2005-08-29 21:13:32 +00:00
Jim Meyering 8cb5f87f68 update from gnulib 2005-08-28 09:18:33 +00:00
Jim Meyering 0b7a9db3fd New file 2005-08-27 20:50:42 +00:00
Jim Meyering 1cd6d2b83b Include <sys/types.h> and declare creat_safer. 2005-08-27 20:43:26 +00:00
Jim Meyering b484d0e717 *** empty log message *** 2005-08-27 20:42:53 +00:00
Jim Meyering 80664cc6a5 sync from gnulib 2005-08-27 20:40:31 +00:00
Jim Meyering c4bb860e0f *** empty log message *** 2005-08-27 19:05:28 +00:00
Jim Meyering e2ea930478 Go ahead and leave the patch in (i.e., revert
today's change).  It doesn't cause a problem after all, since
--exclude-from=- is always handled before --files0-from=F.
2005-08-27 19:05:24 +00:00
Jim Meyering 1cf9fe2981 *** empty log message *** 2005-08-27 18:12:58 +00:00
Jim Meyering 509e46c548 Revert the du.c part of the change from 2005-07-02:
That change (to reopen stdin on F for --files0-from=F) made it so
--exclude-from=- and --files0-from=F would not work together.
2005-08-27 18:12:54 +00:00
Jim Meyering 21e8dcda49 *** empty log message *** 2005-08-27 16:12:25 +00:00
Jim Meyering dbe6e77865 *** empty log message *** 2005-08-27 16:12:16 +00:00
Jim Meyering bd17f9b9e1 Use `#error' rather than a string literal to provoke failure. 2005-08-27 16:11:43 +00:00
Jim Meyering 4157054167 *** empty log message *** 2005-08-25 16:28:21 +00:00
Jim Meyering dd03b039e8 Include <config.h>.
Otherwise, we'd lose LARGEFILE support in any file using e.g. "fcntl--.h"
2005-08-25 16:28:18 +00:00
Jim Meyering 1d6e649c83 *** empty log message *** 2005-08-24 15:25:33 +00:00
Jim Meyering f80cc28124 (stdopen): Revert to iterating over descriptors, but
rather than using fstat, use fcntl with its F_GETFD flag, which
is more efficient.  Unlike the 2-syscall dup-close approach,
this one doesn't apply any unnecessary pressure on the file
descriptor pool -- thus there is one fewer way to fail.
2005-08-24 15:25:29 +00:00
Jim Meyering 55fb58f426 adjust prototype
Include stdbool.h.
2005-08-24 13:01:31 +00:00
Jim Meyering 2f8742484d *** empty log message *** 2005-08-23 19:42:08 +00:00
Jim Meyering 6cd08ed8ea Update from gnulib. 2005-08-23 19:41:09 +00:00
Jim Meyering 88b1cd5a53 . 2005-08-23 16:58:04 +00:00
Jim Meyering 00fecaac80 *** empty log message *** 2005-08-23 16:57:42 +00:00
Jim Meyering 048d2e424b *** empty log message *** 2005-08-23 16:52:13 +00:00
Jim Meyering a60996e13c (sc_useless_cpp_parens): New rule.
(syntax-check-rules): Add it.
2005-08-23 16:52:09 +00:00
Jim Meyering fce7aff711 *** empty log message *** 2005-08-23 16:51:07 +00:00
Jim Meyering b9400a2bc6 . 2005-08-23 16:48:07 +00:00
Jim Meyering 70dfc132e5 * .x-sc_useless_cpp_parens: New empty file.
* Makefile.am (EXTRA_DIST): Add it.
2005-08-23 16:46:04 +00:00
Jim Meyering f03cb421a9 *** empty log message *** 2005-08-23 16:39:25 +00:00
Jim Meyering 8e3ee19215 Use `5.3.1-cvs' as the version string. 2005-08-23 16:38:45 +00:00
Jim Meyering 1d35b2cc3d *** empty log message *** 2005-08-23 15:28:30 +00:00
Jim Meyering 6ce9ea95f5 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:28:22 +00:00
Jim Meyering 64d4675c75 *** empty log message *** 2005-08-23 15:09:23 +00:00
Jim Meyering be16d0eac0 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:09:13 +00:00
Jim Meyering 61f9e01475 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:06:55 +00:00
Jim Meyering 5c86145a1d *** empty log message *** 2005-08-23 15:06:50 +00:00
Jim Meyering 8de5019cf5 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:05:54 +00:00
Jim Meyering 4fb8e0f3c4 Include <float.h> unconditionally. 2005-08-23 15:05:01 +00:00
Jim Meyering 68c6c7db8e (print_uptime): Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:03:48 +00:00
Jim Meyering b5e741091d (do_link): If ln is invoked with --interactive (-i),
encounters an existing destination file, and gets an affirmative
response, then first try to unlink the destination file rather
than simply failing.  Suggestion from Karl Berry.
2005-08-22 10:31:55 +00:00
Jim Meyering a0037fae22 *** empty log message *** 2005-08-22 10:31:34 +00:00
Jim Meyering 3ee86c1b49 (xwrite_stdout): Rename from xwrite. Remove always-equal-to-STDOUT_FILENO
parameter and associated assertion.  Adjust all callers.
2005-08-22 10:31:17 +00:00
Jim Meyering 2fe90443cf *** empty log message *** 2005-08-21 16:08:57 +00:00
Jim Meyering 258e75ecb6 (main): Declare `target_directory' with const attribute. 2005-08-21 16:08:53 +00:00
Jim Meyering ecd05fa0fd *** empty log message *** 2005-08-21 16:06:16 +00:00