Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/texinfo/makeinfo Do not search the info path when o...



details:   https://anonhg.NetBSD.org/src/rev/8a7c2ca397eb
branches:  trunk
changeset: 569677:8a7c2ca397eb
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 29 08:16:18 2004 +0000

description:
Do not search the info path when opening our own output file. We may find
an old (shorter) version somewhere and SIGSEGV due to different filesize.
Fixes PR toolchain/26791. Already forwarded to texinfo maintainers.

diffstat:

 gnu/dist/texinfo/makeinfo/node.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5e282edb710e -r 8a7c2ca397eb gnu/dist/texinfo/makeinfo/node.c
--- a/gnu/dist/texinfo/makeinfo/node.c  Sun Aug 29 06:50:46 2004 +0000
+++ b/gnu/dist/texinfo/makeinfo/node.c  Sun Aug 29 08:16:18 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: node.c,v 1.2 2004/07/14 00:12:28 wiz Exp $     */
+/*     $NetBSD: node.c,v 1.3 2004/08/29 08:16:18 martin Exp $  */
 
 /* node.c -- nodes for Texinfo.
    Id: node.c,v 1.19 2004/02/29 13:23:51 dirt Exp
@@ -1717,7 +1717,7 @@
     return;
   file_size = (long) fileinfo.st_size;
 
-  the_file = find_and_load (filename, 1);
+  the_file = find_and_load (filename, 0);
   if (!the_file)
     return;
 



Home | Main Index | Thread Index | Old Index