summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorLines
1995-10-31Add `const' attribute to some parameters.Jim Meyering-3/+4
1995-10-30Protoize.Jim Meyering-31/+11
1995-10-30Reorder functions to obviate forward dcls.Jim Meyering-287/+277
Remove forward dcls.
1995-10-30(copy): Update one of the calls to eaccess_stat to use 3 arguments. Ugh!Jim Meyering-1/+1
1995-10-29(xwrite): Give output buffer parameter const attribute.Jim Meyering-4/+4
(output): Likewise for both parameters. (tac): Likewise for file name parameter. (tac_file): Likewise.
1995-10-29protoize.Jim Meyering-29/+11
1995-10-29Reorder functions to obviate forward dcls.Jim Meyering-303/+297
Remove forward dcls.
1995-10-29(bsd_sum_file): Give file name parameter const attribute.Jim Meyering-2/+2
(sysv_sum_file): Likewise.
1995-10-29Protoize.Jim Meyering-11/+4
1995-10-29(main): Move function body to end of file.Jim Meyering-61/+59
Remove forward dcls.
1995-10-29(nl_file): Give parameter const attribute.Jim Meyering-19/+12
Protoize.
1995-10-29Reorder functions to obviate forward dcls.Jim Meyering-295/+283
Remove forward dcls.
1995-10-29(main): Move function body to end of file.Jim Meyering-79/+66
Remove forward dcls and protoize.
1995-10-29Rename --file to --reference.Jim Meyering-2/+3
Leave --file as an alias, for now. It will be removed later. (usage): Update, but don't mention --file.
1995-10-29[TEST_STANDALONE]: Define.Jim Meyering-0/+2
1995-10-28(md5_check): Use the same message format when the single file has aJim Meyering-16/+9
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-18/+39
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-5/+2
1995-10-26(main): Use xfopen, not xtmpopen to open final output file.Jim Meyering-1/+1
1995-10-26(xtmpfopen): New function -- for opening temp files.Jim Meyering-8/+23
Use it instead of xfopen.
1995-10-26(xfopen): Rewrite using open/fdopen in order to setJim Meyering-6/+16
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-80/+156
(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-12/+12
1995-10-19(build_spec_list): Propagate interface change.Jim Meyering-4/+7
(parse_str): Likewise.
1995-10-19(struct E_string): Define.Jim Meyering-28/+50
(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-11/+21
1995-10-18Use HAVE_SYS_WAIT_H, not _POSIX_VERSION in conditionalJim Meyering-5/+11
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-2/+5
1995-10-18(duplicate_entry): Always return 0 if !D_INO_IN_DIRENT, rather thanJim Meyering-44/+44
if _POSIX_SOURCE
1995-10-18(main): Fail if the same file system type was both selected and excluded.Jim Meyering-2/+25
1995-10-18[endgrent]: Test !HAVE_ENDGRENT rather than _POSIX_SOURCE.Jim Meyering-2/+2
1995-10-18[endpwent]: Test !HAVE_ENDPWENT rather than _POSIX_SOURCE.Jim Meyering-3/+2
[endgrent]: Remove unused definition.
1995-10-18Prootize.Jim Meyering-92/+44
1995-10-17Add `const' attribute to dcls of lots of formals.Jim Meyering-6/+7
1995-10-17Protoize.Jim Meyering-26/+9
1995-10-17Protoize.Jim Meyering-15/+7
1995-10-17Reorder functions to obviate forward dcls. Remove forward dcls.Jim Meyering-157/+150
1995-10-17Reorder functions to obviate forward dcls. Remove forward dcls.Jim Meyering-195/+186
1995-10-17Protoize. Reorder functions to obviate forward dcls. Remove forward dcls.Jim Meyering-99/+89
1995-10-17Protoize. Reorder functions to obviate forward dcls.Jim Meyering-314/+306
Remove forward dcls.
1995-10-16Protoize.Jim Meyering-481/+430
Reorder functions to obviate forward dcls. Remove forward dcls.
1995-10-16Move struct dcls to precede dcls of file-scope variables.Jim Meyering-47/+51
(monthtab, keyhead): Separate variable dcls from type dcls.
1995-10-16(usage): Move function definition to precede uses andJim Meyering-132/+81
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-11/+39
(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-3/+6
1995-10-12(add_field_list): Allow SPACE and TAB as well as `,' as list item separators.Jim Meyering-1/+1
1995-10-12Remove bogus FIXME.Jim Meyering-2/+0
1995-10-08(main): Close input files.Jim Meyering-0/+4
1995-10-08Add alloca junk.Jim Meyering-0/+14
1995-10-08(add_field): No longer return a value.Jim Meyering-114/+168
(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.