>>>>> "Nirmal" == Nirmal Govind <[EMAIL PROTECTED]> writes:

>> Or maybe I do not understand what your problem is? Another thing
>> you can try is to run lyx under valgrind.
>> 
>> JMarc
>> 
Nirmal> Thanks.. looks like I wasn't running gdb the right way..
Nirmal> anyways, below is the entire output from gdb.. it's pretty
Nirmal> long but I hope it's useful...

You did not apply the following patch, did you?

JMarc

Index: src/insets/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v
retrieving revision 1.532
diff -u -p -r1.532 ChangeLog
--- src/insets/ChangeLog	25 Oct 2002 12:46:01 -0000	1.532
+++ src/insets/ChangeLog	25 Oct 2002 13:34:17 -0000
@@ -1,3 +1,8 @@
+2002-10-25  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* insetexternal.C (doSubstitution): do not try to replace
+	environment variables, this is done when executing the command
+
 2002-10-24  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* insetexternal.C (doSubstitution): change order of substitution
Index: src/insets/insetexternal.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetexternal.C,v
retrieving revision 1.51
diff -u -p -r1.51 insetexternal.C
--- src/insets/insetexternal.C	25 Oct 2002 12:46:01 -0000	1.51
+++ src/insets/insetexternal.C	25 Oct 2002 13:34:17 -0000
@@ -245,7 +245,6 @@ string const InsetExternal::doSubstituti
 	result = subst(result, "$$FPath", filepath);
 	result = subst(result, "$$Tempname", tempname_);
 	result = subst(result, "$$Sysdir", system_lyxdir);
-	result = ReplaceEnvironmentPath(result);
 
 	// Handle the $$Contents(filename) syntax
 	if (contains(result, "$$Contents(\"")) {

Reply via email to