diff options
| author | Andreas Gruenbacher <agruen@gnu.org> | 2012-08-14 00:30:46 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2012-09-10 14:31:23 +0200 |
| commit | e17295dc5529b252c269f12e081184bbde42d575 (patch) | |
| tree | 5d8492c0bdada2f5e78333e22ff21121da17f810 /src/diff.h | |
| parent | baeaa83e31da3a1a36d2a1f76140b67ff76859fe (diff) | |
| download | diffutils-e17295dc5529b252c269f12e081184bbde42d575.tar.gz | |
diff: encode file names with special characters
* src/util.c (c_escape_char): New function.
(c_escape): New function.
(begin_output): Escape file names when needed.
* src/context.c (print_context_header): New names parameter.
(print_context_label): New name parameter.
* src/diff.h (print_context_header): Change prototype.
* tests/filename-quoting: New file.
* NEWS: Document this change.
Diffstat (limited to 'src/diff.h')
| -rw-r--r-- | src/diff.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -332,7 +332,7 @@ XTERN FILE *outfile; extern int diff_2_files (struct comparison *); /* context.c */ -extern void print_context_header (struct file_data[], bool); +extern void print_context_header (struct file_data[], char const * const *, bool); extern void print_context_script (struct change *, bool); /* dir.c */ |
