From octave-sources-request at bevo dot che dot wisc dot edu Tue Nov 27 16:58:35 2001 Subject: Fix for kpathsea From: teg at redhat dot com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=) To: octave-sources at bevo dot che dot wisc dot edu Date: 27 Nov 2001 17:58:26 -0500 --=-=-= The attached patch fixes a segfault-on-startup problem, when an misspelling in a conditional would cause function/prototype problems and segfault in basename later.. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=octave-2.1.34-progname.patch Content-Description: fix for kpathsea --- octave-2.1.34/kpathsea/progname.c.jj Fri Apr 24 00:24:37 1998 +++ octave-2.1.34/kpathsea/progname.c Wed Nov 21 05:23:14 2001 at @ -566,7 +566,7 @@ kpse_set_program_name P2C(const_string, free (sdir_parent); free (sdir_grandparent); -#ifndef PROGRAM_INVOCATION_NAME +#ifndef HAVE_PROGRAM_INVOCATION_NAME program_invocation_short_name = (string)basename (program_invocation_name); #endif --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit -- Trond Eivind Glomsrød Red Hat, Inc. --=-=-=--