I need to correct myself again, as I made diff against an already
"touched" file. :(
Sorry for this mess.
Here how it must be:
704a705
> static Obj ProtectFname;
723a725,726
> /* For some reason itanium GC seems unable to spot fname */
> ProtectFname = fname;
726a730,731
> ProtectFname = (Obj)0L;
>
1078a1084,1085
> InitGlobalBag(&ProtectFname, "Protected Filename for SaveWorkspace");
>
and, for total certainty, the context diff:
*** saveload.c.orig Mon Jan 18 02:20:23 2010
--- saveload.c Mon Jan 18 02:41:04 2010
***************
*** 702,707 ****
--- 702,708 ----
}
}
+ static Obj ProtectFname;
Obj SaveWorkspace( Obj fname )
{
***************
*** 721,729 ****
--- 722,734 ----
return Fail;
}
+ /* For some reason itanium GC seems unable to spot fname */
+ ProtectFname = fname;
/* Do a full garbage collection */
CollectBags( 0, 1);
+ ProtectFname = (Obj)0L;
+
/* Add indices in link words of all bags, for saving inter-bag
references */
NextSaveIndex = 0;
CallbackForAllBags( AddSaveIndex );
***************
*** 1076,1081 ****
--- 1081,1088 ----
static Int InitLibrary (
StructInitInfo * module )
{
+ InitGlobalBag(&ProtectFname, "Protected Filename for
SaveWorkspace");
+
/* Create dummy variable, to support tab-completion */
(void)GVarName("SaveWorkspace");
---
Dmitrii
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org