Paul Eggert
fd03e5ddc5
(__builtin_constant_p): Remove, undoing previous change.
...
(verify_type__): Solve the problem by using a bit-field rather
than an array.
2005-09-06 08:20:56 +00:00
Jim Meyering
9288303f01
.
2005-09-05 17:17:47 +00:00
Jim Meyering
3dce0fc85c
*** empty log message ***
2005-09-05 17:13:21 +00:00
Jim Meyering
ae14879ab9
(setuid-etc): New test, for today's addition of colorization for
...
setuid, setgid files and sticky, other-writable, sticky-and-other-writable
directories.
2005-09-05 17:13:09 +00:00
Jim Meyering
ac46781470
Colorize set-user-ID and set-group-ID files and sticky,
...
other-writable, and sticky-and-other-writable directories.
(indicator_no[]): Add new symbols.
(indicator_name[]): Add corresponding mode strings.
(color_indicator[]): Add an entry for each new mode string.
(print_color_indicator): Honor new types.
From Mike Frysinger, based on a patch from Fedora.
2005-09-05 17:12:07 +00:00
Jim Meyering
bd30058179
Colorize set-user-ID and set-group-ID files and sticky,
...
other-writable, and sticky-and-other-writable directories.
Document the default colors for the new strings.
From Mike Frysinger, based on a patch from Fedora.
2005-09-05 17:11:39 +00:00
Jim Meyering
200572872f
Colorize set-user-ID and set-group-ID files and sticky,
...
other-writable, and sticky-and-other-writable directories.
(slack_codes): Add new dircolors mode names.
(ls_codes): Add corresponding two-letter ls mode strings.
From Mike Frysinger, based on a patch from Fedora.
2005-09-05 17:11:15 +00:00
Jim Meyering
22322e0d9b
*** empty log message ***
2005-09-05 16:57:46 +00:00
Jim Meyering
c862959a9d
(__builtin_constant_p) [__GNUC__ <= 2]: Define to 1.
...
(verify_type__) [verify_error_if_non_const__]: New member/test,
to help detect when verify or verify_expr is mistakenly passed
a non-constant argument within a function.
2005-09-05 16:57:40 +00:00
Jim Meyering
2b661b0366
Don't omit comments until there is better documentation.
2005-09-05 15:06:37 +00:00
Jim Meyering
bbd6e2ef20
.
2005-09-04 20:08:25 +00:00
Jim Meyering
b11babcb6b
.
2005-09-04 20:06:36 +00:00
Paul Eggert
4e8b2dca77
Clarify comment about size bounds.
2005-09-01 19:31:10 +00:00
Jim Meyering
b8e2e0208f
Require gl_STAT_MACROS
2005-09-01 18:10:34 +00:00
Jim Meyering
44bca24e16
*** empty log message ***
2005-09-01 18:10:12 +00:00
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