summaryrefslogtreecommitdiff
path: root/src/ifdef.c
Commit message (Collapse)AuthorAgeFilesLines
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* maint: update copyright year ranges to include 2011Jim Meyering2011-01-031-1/+1
| | | | Run "make update-copyright", so "make syntax-check" works in 2011.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-011-1/+1
| | | | | | Use this command: git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \ env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
* admin: update all copyright notices to include the year 2009Jim Meyering2009-11-111-2/+2
|
* * src/ifdef.c: Fix typo: "GNU DIFF General Public License" should bePaul Eggert2007-07-191-2/+2
| | | | | "GNU General Public License". Reported by Erich Guenther. * src/side.c: Likewise.
* * src/system.h (PARAMS, PROTOTYPES): Remove; no longer needed.Paul Eggert2006-03-131-8/+8
| | | | | | | | | (IF_LINT): New macro, to pacify GCC. * src/analyze.c (diag, compareseq): Use IF_LINT. * src/cmp.c (cmp): Likewise. * src/diff3.c (process_diff): Likewise. Also, prefer NULL to 0. * src/ifdef.c (do_printf_spec, scan_char_literal): Likewise. * src/sdiff.c (edit): Likewise.
* (next_line): Remove; replace with...Paul Eggert2004-04-121-13/+19
| | | | | | (next_line0, next_line1): New vars. (print_ifdef_script, print_ifdef_hunk): Use them to fix line-number computation bug.
* Include <xalloc.h>.Paul Eggert2002-02-281-0/+2
|
* (format_group, print_ifdef_lines): Avoid core dumps withPaul Eggert2002-02-281-17/+17
| | | | | bad formats. (do_printf_spec): Avoid alloca.
* Assume C89 or better.Paul Eggert2001-11-241-248/+242
| | | | | | | | int -> lin for line numbers. (format_group): Use strtoumax to parse line numbers. (format_group, print_ifdef_lines): Use do_printf_spec to handle printf specs. (groups_letter_value): Don't use _tolower; it's locale-dependent. (do_printf_spec): Renamed from scan_printf_spec; now does the printing.
* (groups_letter_value): tolower -> _tolowerPaul Eggert1994-10-151-1/+1
|
* isdigit -> ISDIGIT, etc.Paul Eggert1994-09-221-6/+6
|
* Fix copyright notice.Paul Eggert1994-09-121-2/+2
|
* (format_group, groups_letter_value): Use * instead of [] in prototypes.Paul Eggert1994-09-011-5/+5
|
* GNU diffutils 2.6Paul Eggert1993-09-171-3/+5
|
* (scan_char_literal): New function, for new %c'x' andPaul Eggert1993-09-151-49/+102
| | | | | %c'\ooo' format specs. (format_group, print_ifdef_lines): Use it. Remove %0 format spec.
* (struct group): New struct.Paul Eggert1993-09-131-76/+267
| | | | | | | | | | | | (print_ifdef_lines): Use it to simplify argument passing. Remove the convention that last arg -1 signifies that the lines from file 2 are the same as the lines from file 1; this convention no longer works, now that line numbers might be printed out, since the line's numbers may differ. Add first FILE * argument to output to. All callers changed. Use a faster test for the single-fwrite optimization. Add support for %?c, %(A=B?T:E), PRINTF_SPECn formats. (format_group, scan_printf_spec, groups_letter_value): New functions. (format_ifdef): 1st arg is no longer const pointer.
* Add prototypes to function declarations.Paul Eggert1993-08-271-12/+11
|
* entered into RCSPaul Eggert1992-09-301-22/+23
|
* *** empty log message ***Paul Eggert1992-09-281-13/+50
|
* *** empty log message ***Paul Eggert1992-09-271-21/+46
|
* *** empty log message ***Paul Eggert1992-09-241-29/+55
|
* *** empty log message ***Paul Eggert1992-09-061-4/+4
|
* Initial revisionPaul Eggert1992-01-021-0/+94