gzip/gzip-1.3.12-stderr.patch

37 lines
937 B
Diff
Raw Normal View History

diff -ru gzip-1.3.12/zforce.in gzip-1.3.12-fix/zforce.in
--- gzip-1.3.12/zforce.in 2007-04-18 21:51:20.000000000 +0200
+++ gzip-1.3.12-fix/zforce.in 2007-04-18 21:54:01.000000000 +0200
@@ -40,7 +40,7 @@
Report bugs to <bug-gzip@gnu.org>."
if test $# = 0; then
- echo "$usage"
+ echo "$usage" 1>&2
exit 1
fi
diff -ru gzip-1.3.12/zmore.in gzip-1.3.12-fix/zmore.in
--- gzip-1.3.12/zmore.in 2007-04-18 21:51:20.000000000 +0200
+++ gzip-1.3.12-fix/zmore.in 2007-04-18 21:56:58.000000000 +0200
@@ -53,7 +53,7 @@
if test $# = 0; then
if test -t 0; then
- echo "$usage"
+ echo "$usage" 1>&2
else
gzip -cdfq | eval ${PAGER-more}
fi
diff -ru gzip-1.3.12/znew.in gzip-1.3.12-fix/znew.in
--- gzip-1.3.12/znew.in 2007-04-18 21:51:20.000000000 +0200
+++ gzip-1.3.12-fix/znew.in 2007-04-18 21:57:19.000000000 +0200
@@ -89,7 +89,7 @@
done
if test $# -eq 0; then
- echo "$usage"
+ echo "$usage" 1>&2
exit 1
fi