texinfo/texinfo-4.13a-powerpc.patch
2013-02-19 15:18:39 +01:00

13 lines
617 B
Diff

diff -up texinfo-5.0/install-info/install-info.c.orig texinfo-5.0/install-info/install-info.c
--- texinfo-5.0/install-info/install-info.c.orig 2013-02-18 13:12:08.367509306 +0100
+++ texinfo-5.0/install-info/install-info.c 2013-02-18 13:13:06.573834074 +0100
@@ -816,7 +816,7 @@ open_possibly_compressed_file (char *fil
}
else
{ /* It's a plain file, seek back over the magic bytes. */
- if (gzseek (f, 0, SEEK_SET) < 0)
+ if (gzseek (f, 0, SEEK_SET) == -1)
pfatal_with_name (*opened_filename);
#if 0 && O_BINARY
/* Since this is a text file, and we opened it in binary mode,