summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1995-10-28(md5_check): Use the same message format when the single file has aJim Meyering
read error or checksum mismatch as when there are more. Write diagnostic to stderr, not stdout.
1995-10-28New option --reference=FILE (-r FILE) analogous to theJim Meyering
like-named touch option. (main): Recognize it and give diagnostic for misuse. (usage): Describe briefly. From Franc,ois Pinard. (batch_convert): Close input stream also when it's not stdin. (main): Reorganize to do option-consistency checks before all else.
1995-10-27(batch_convert): Close input stream also when it's not stdin.Jim Meyering
1995-10-26(main): Use xfopen, not xtmpopen to open final output file.Jim Meyering
1995-10-26(xtmpfopen): New function -- for opening temp files.Jim Meyering
Use it instead of xfopen.
1995-10-26(xfopen): Rewrite using open/fdopen in order to setJim Meyering
proper permissions on temporary files. Reported by Erik Corry (erik@kroete2.freinet.de).
1995-10-20(BEGIN_STATE): Use INT_MAX - 1 so as not to interfere with large repeat counts.Jim Meyering
(struct E_string): New struct. (find_closing_delim): Take E_string arg rather than char* and length. (find_bracketed_repeat): Likewise. (star_digits_closebracket): New function. (append_char_class): No longer give diagnostic. (append_equiv_class): No longer give diagnostic. (build_spec_list): Give them here instead, allowing things like [:*][:upper:] that got errors before. Take E_string arg rather than char*. Convert switch stmts into if-then so as to use ES_MATCH.
1995-10-19Indent cpp directives.Jim Meyering
1995-10-19(build_spec_list): Propagate interface change.Jim Meyering
(parse_str): Likewise.
1995-10-19(struct E_string): Define.Jim Meyering
(unquote): Convert string to E_string instead of overwriting input. Backslash-escaped non-special characters are marked as quoted in E_string. (build_spec_list): Convert outer switch stmt to an if-stmt. (parse_str): Update sole caller of unquote.
1995-10-19Break lines longer than 79-80 chars.Jim Meyering
1995-10-18Use HAVE_SYS_WAIT_H, not _POSIX_VERSION in conditionalJim Meyering
inclusion of sys/wait.h. [endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE. [endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.
1995-10-18Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.Jim Meyering
1995-10-18(duplicate_entry): Always return 0 if !D_INO_IN_DIRENT, rather thanJim Meyering
if _POSIX_SOURCE
1995-10-18(main): Fail if the same file system type was both selected and excluded.Jim Meyering
1995-10-18[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.Jim Meyering
1995-10-18[endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.Jim Meyering
[endgrent]: Remove unused definition.
1995-10-18Prootize.Jim Meyering
1995-10-17Add `const' attribute to dcls of lots of formals.Jim Meyering
1995-10-17Protoize.Jim Meyering
1995-10-17Protoize.Jim Meyering
1995-10-17Reorder functions to obviate forward dcls. Remove forward dcls.Jim Meyering
1995-10-17Reorder functions to obviate forward dcls. Remove forward dcls.Jim Meyering
1995-10-17Protoize. Reorder functions to obviate forward dcls. Remove forward dcls.Jim Meyering
1995-10-17Protoize. Reorder functions to obviate forward dcls.Jim Meyering
Remove forward dcls.
1995-10-16Protoize.Jim Meyering
Reorder functions to obviate forward dcls. Remove forward dcls.
1995-10-16Move struct dcls to precede dcls of file-scope variables.Jim Meyering
(monthtab, keyhead): Separate variable dcls from type dcls.
1995-10-16(usage): Move function definition to precede uses andJim Meyering
remove remove forward dcl. Protoize and add `const' attribute to dcls of lots of formals.
1995-10-13(prjoin): Handle case in which file spec is 0.Jim Meyering
(add_field): Update assertions. (decode_field_spec): For S == "0", set file spec to zero and don't modify *FIELD_INDEX. Otherwise, *FIELD_INDEX gets the zero-based index.
1995-10-13(prjoin): Rewrite loop that iterates over field specs.Jim Meyering
1995-10-12(add_field_list): Allow SPACE and TAB as well as `,' as list item separators.Jim Meyering
1995-10-12Remove bogus FIXME.Jim Meyering
1995-10-08(main): Close input files.Jim Meyering
1995-10-08Add alloca junk.Jim Meyering
1995-10-08(add_field): No longer return a value.Jim Meyering
(decode_field_spec): New function. (add_field_list): Rewrite to be more strict about what is accepted. Before, `,1.2' was accepted as valid. (main): Use xstrtol instead atoi. Combine nearly identical -a and -v cases.
1995-10-06Include limits.h.Jim Meyering
[!INT_MAX]: Define it.
1995-10-06[!HAVE_UTIME_H]: Don't declare struct utimbuf here.Jim Meyering
[!HAVE_STRUCT_UTIMBUF]: Declare struct utimbuf here instead.
1995-10-05(show_point): Cast -2 to dev_t before assignment.Jim Meyering
1995-10-04protoizeJim Meyering
1995-10-04Remove forward dcl of usage.Jim Meyering
1995-10-04(usage): Move to precede all other functions.Jim Meyering
1995-10-04(main): Report `too few/many non-option arguments' then print --helpJim Meyering
output rather than just the latter. Properly interpret obsolescent usage like `join -o 2.1 2.1 2.2'. (usage): Describe POSIX -1, -2 options and deprecate -j* ones
1995-10-04Test SA_INTERRUPT, not _POSIX_VERSION,Jim Meyering
to determine whether `sigaction' functions are available. Reported by Paul Nevai <nevai@ops.mps.ohio-state.edu>. Fix suggested by Karl Berry.
1995-10-03(set_fields): Use memset (not open coded loop) to initialize array.Jim Meyering
1995-10-03Convert a lot of `int' types to `unsigned int' to avoid warnings fromJim Meyering
`gcc -Wall' about comparing signed and unsigned types.
1995-10-03(main): Declare counter, N_STRINGS, to be an integral type, not `char'.Jim Meyering
1995-10-01Declare stat, xstat.Jim Meyering
1995-10-01Declare stat, xstat.Jim Meyering
1995-09-29(dired_dump_obstack): Don't generate any output if the obstack is empty.Jim Meyering
(main): Always initialize and dump subdired_obstack, not just if -R. `ls -lDR dir dir2' was using uninitialized subdired_obstack. Reported by Samuli K{rkk{inen <hskarkka@snakemail.hut.fi>.
1995-09-27(decode_one_format): Remove spurious semicolon.Jim Meyering