From 553d347d3e08e00ee4f9df520b37c964c3f26e28 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 18 Mar 2007 16:21:26 +0100 Subject: Fix a bug in how pr -m -s works. * NEWS: Describe how the fix affects pr. * src/pr.c (init_parameters): The --merge (-m) option does not imply --expand-tabs (-e), so don't set "untabify_input". Reported by Wis Macomson. * tests/misc/pr: New file. Test for the above fix. * tests/misc/Makefile.am (TESTS): Add pr. * THANKS: Update. --- src/pr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pr.c') diff --git a/src/pr.c b/src/pr.c index bd694f49f..e0aea224e 100644 --- a/src/pr.c +++ b/src/pr.c @@ -1,5 +1,5 @@ /* pr -- convert text files for printing. - Copyright (C) 88, 91, 1995-2006 Free Software Foundation, Inc. + Copyright (C) 88, 91, 1995-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1265,7 +1265,6 @@ init_parameters (int number_of_files) col_sep_string = column_separator; truncate_lines = true; - untabify_input = true; tabify_output = true; } else -- cgit v1.2.3-54-g00ecf