Paul Eggert
fe041980c8
(SKIP_SOMETHING, find_occurs_in_text):
...
Store match length in regoff_t,
not int. Assume that negative return values less than -2
represent regoff_t overflow.
(matcher_error): New function.
(SKIP_SOMETHING, find_occurs_in_text): Use it to report matcher errors.
(alloc_and_compile_regex): No longer any need to worry about
int versus size_t mismatch.
2005-09-09 21:11:07 +00:00
Paul Eggert
0d11284c9e
(proc_text): Store match length in regoff_t,
...
not int. Assume that negative return values less than -2
represent regoff_t overflow.
(build_type_arg): Check for size_t overflow.
2005-09-09 21:09:48 +00:00
Paul Eggert
35155485bb
* src/expr.c (docolon): 64-bit regex fixes.
2005-09-09 21:08:51 +00:00
Paul Eggert
1bd916412d
(process_regexp): Store match length in regoff_t,
...
not int. Assume that negative return values less than -2
represent regoff_t overflow.
2005-09-09 21:08:19 +00:00
Paul Eggert
3301671de9
Import latest regex module from gnulib, to fix some 64-bit bugs.
2005-09-09 21:07:50 +00:00
Paul Eggert
fd4a5b1b53
More nice fixes.
2005-09-09 20:51:55 +00:00
Paul Eggert
263672792f
(nice invocation): Document "niceness" versus
...
"nice value" versus "scheduling priority".
2005-09-09 20:50:51 +00:00
Paul Eggert
3de440458d
(main): Hoist errno=0 outside the ifdef.
2005-09-09 20:47:46 +00:00
Paul Eggert
590a4f3a55
(utils_cv_func_setpriority): Simplify the tests.
...
Define HAVE_NICE rather than NICE_PRIORITY (since a niceness is
not a priority); all uses changed.
2005-09-09 20:47:29 +00:00
Paul Eggert
159fad8d3a
Document "niceness" vs "nice value".
2005-09-09 20:46:54 +00:00
Jim Meyering
c0b692d232
*** empty log message ***
2005-09-09 07:30:01 +00:00
Jim Meyering
da31244e99
(neg-secs2, fill-1, fill-2): Add new tests.
2005-09-09 07:22:27 +00:00
Paul Eggert
09575c108c
Use the phrase "niceness" instead of "nice value" to describe
...
the biased nice value that can go negative. This corrects
a discrepancy with POSIX, which states that nice values are
nonnegative.
2005-09-08 06:52:09 +00:00
Jim Meyering
fdf404cc1e
*** empty log message ***
2005-09-07 06:11:11 +00:00
Jim Meyering
b962737080
(time_args): Use NULL in place of 0.
2005-09-07 06:08:01 +00:00
Paul Eggert
2aeb8c7fa9
* verify.h: Use a bit-field instead.
2005-09-06 08:21:20 +00:00
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