Deleted Added
full compact
util.c (54427) util.c (66525)
1/* Support routines for GNU DIFF.
2 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
3
4This file is part of GNU DIFF.
5
6GNU DIFF is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)

--- 352 unchanged lines hidden (view full) ---

361 /* We implement our own limited printf-like functionality (%s, %d,
362 and %c only). Callers who want something fancier can use
363 sprintf. */
364 const char *p = format;
365 char *q;
366 char *str;
367 int num;
368 int ch;
1/* Support routines for GNU DIFF.
2 Copyright (C) 1988, 1989, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
3
4This file is part of GNU DIFF.
5
6GNU DIFF is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)

--- 352 unchanged lines hidden (view full) ---

361 /* We implement our own limited printf-like functionality (%s, %d,
362 and %c only). Callers who want something fancier can use
363 sprintf. */
364 const char *p = format;
365 char *q;
366 char *str;
367 int num;
368 int ch;
369 unsigned char buf[100];
369 char buf[100];
370
371 while ((q = strchr (p, '%')) != NULL)
372 {
373 static const char msg[] =
374 "\ninternal error: bad % in printf_output\n";
375 (*callbacks->write_output) (p, q - p);
376
377 switch (q[1])

--- 470 unchanged lines hidden ---
370
371 while ((q = strchr (p, '%')) != NULL)
372 {
373 static const char msg[] =
374 "\ninternal error: bad % in printf_output\n";
375 (*callbacks->write_output) (p, q - p);
376
377 switch (q[1])

--- 470 unchanged lines hidden ---