summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-04-04(PERL): Remove unnecessary definition.Jim Meyering
2003-04-04Because of inappropriate (but POSIX-mandated) behavior of rename,Jim Meyering
`mv a b' would not remove `a' in some unusual cases. Work around this by unlinking `a' when necessary. (same_file_ok): Add an output parameter. Set it in the offending case. (copy_internal): When necessary, unlink SRC_PATH and inform caller.
2003-04-04Clean up rules for automatically generated sources:Jim Meyering
(dircolors.h, wheel-size.h, wheel.h, false.c): Make each generated file be read-only. Add each file name to BUILT_SOURCES separately. (MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).
2003-04-04Put LOCALEDIR macro definition in new file: localedir.h.Jim Meyering
(DEFS): Remove definition. (localedir.h): New rule. (BUILT_SOURCES, DISTCLEANFILES): Add localedir.h.
2003-04-04Include "localedir.h".Jim Meyering
2003-04-02.Jim Meyering
2003-04-02.Jim Meyering
2003-04-02(false.c): Change all occurrences of `(EXIT_SUCCESS)' to `(EXIT_FAILURE)'.Jim Meyering
Reported by Paul Jarc,
2003-03-30(is_empty_dir): Don't let a failing closedirJim Meyering
clobber errno. Spotted by Arnold Robbins.
2003-03-30Fix typo in comment.Jim Meyering
2003-03-27Remove Arnold Robbins' obsolete e-mail addressJim Meyering
from `written by...' comment, at his request.
2003-03-27Fix buffer overrun problem reported by TAKAI Kousuke, alongJim Meyering
with some other POSIX incompatibilities. (print_esc): Do not treat \x specially if POSIXLY_CORRECT. Avoid buffer overrun if the format ends in backslash. Treat incomplete escape sequences as strings of characters, as POSIX requires. (print_formatted): Allow multiple flags. Avoid buffer overrun if the format is incomplete.
2003-03-27.Jim Meyering
2003-03-26(struct cp_options): Add a comment.Jim Meyering
2003-03-22D'oh.Jim Meyering
2003-03-22Don't include <sys/sysmacros.h>.Jim Meyering
That is already done via system.h. Otherwise, the multiple inclusion would evoke redefinition warnings from Cray's /bin/cc (Cray Standard C Version 4.0.3 (057126) Mar 22 2003 22:02:28). (human_fstype): Factor some directives `up', out of this function. Cast away `const' to avoid error from Cray's /bin/cc.
2003-03-20(valid_format): Also accept ` ' and `'' as validJim Meyering
format flag characters. Do not require that a field width be specified. Do not fail when given a field width of `0'.
2003-03-20.Jim Meyering
2003-03-19(all-local): Append $(EXEEXT) to use of `su'Jim Meyering
(install-root): Likewise. (install-exec-local): Likewise.
2003-03-19.Jim Meyering
2003-03-18[struct Word] (paren, period, punct, final): Change theJim Meyering
type of each member from bool <MEMBER>:1 to unsigned int <MEMBER>:1. AIX 5.1's xlc could not compile the former.
2003-03-16(rm): Put two local variables in static storage,Jim Meyering
so they can't be clobbered by the potential longjmp.
2003-03-15.Jim Meyering
2003-03-14remove ansi2knr junkJim Meyering
2003-03-14.Jim Meyering
2003-03-14.Jim Meyering
2003-03-14.Jim Meyering
2003-03-12.Jim Meyering
2003-03-11(longopts): Don't hard-code `2' here.Jim Meyering
Instead, just specify `&verbose', and ... (main): ... remove the `case 2:' block for --verbose.
2003-03-11Don't segfault for a negative field width or precision in format string.Jim Meyering
(UNSPECIFIED): Define. (print_direc): Use the special value, UNSPECIFIED, to indicate that field_width or precision has not been specified. (print_formatted): Fail if field_width or precision is the special value, UNSPECIFIED.
2003-03-10(INT_MIN): Define, if necessary.Jim Meyering
2003-03-09fix typo in commentJim Meyering
2003-03-09(AD_stack_pop): Cast sizeof... to int before changing its sign.Jim Meyering
This avoids a warning from gcc on 64-bit systems. (pop_dir): Reverse order of sign change and cast, to be consistent with the above.
2003-03-08Before, when using shred on a device, one had to specify --exact,Jim Meyering
or be careful to choose a size that would not be rounded up and exceed the maximum value; that could result in a failure of the final write. (do_wipefd): --exact is now the default for non-regular files. Suggestion from Ben Elliston. (usage): Say it.
2003-03-08Remove now-unused #include and #define directives.Jim Meyering
2003-03-08(check-misc): Check for use of `defined' in #define directives.Jim Meyering
Change to $(srcdir) before running grep.
2003-03-08.Jim Meyering
2003-03-08(process_file): If a file's size is not being countedJim Meyering
e.g., because it's a hard link to a file we've already counted, then don't print a line for it.
2003-03-08`du -S' didn't workJim Meyering
Revert most of the `reorganization' change of 2003-02-20, and make the two-array approach work.
2003-03-08*** empty log message ***Jim Meyering
2003-03-08*** empty log message ***Jim Meyering
2003-03-08*** empty log message ***Jim Meyering
2003-03-08.Jim Meyering
2003-03-07.Jim Meyering
2003-03-07(print_it): Use putchar, not fputs, to output a single character.Jim Meyering
2003-03-07(dired_dump_obstack): Use putchar, not fputs, to output a single character.Jim Meyering
2003-03-07(usage): Use putchar, not fputs, to output a single character.Jim Meyering
2003-03-07(output_one_tex_line, output_one_dumb_line):Jim Meyering
Use putchar, not fputs, to output a single character.
2003-03-07Remove everything associated with mmap-stack.c.Jim Meyering
This reverts the two changes of 2003-02-21.
2003-03-07Remove everything associated with mmap-stack.c.Jim Meyering
This reverts the change of 2003-02-19.