Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Update of /cvsroot/octave/octave-forge/main/miscellaneous
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29452
Hack around dld protected problems
RCS file: /cvsroot/octave/octave-forge/main/miscellaneous/dispatch.cc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- dispatch.cc 1 Apr 2004 04:33:57 -0000 1.11
+++ dispatch.cc 13 Apr 2004 10:54:03 -0000 1.12
@@ -207,8 +207,12 @@
// Move the builtin function out of the way and restore the
// dispatch fuction.
// XXX FIXME XXX what if builtin wants to protect itself?
+ symbol_record* found=fbi_sym_tab->lookup(base,0);
+ bool readonly=found->is_read_only();
fbi_sym_tab->rename (base, "builtin#"+base);
fbi_sym_tab->rename ("dispatch#"+base, base);
+ if (readonly) found->protect();
// remember if there were any errors.
Sign up for the SourceForge newsletter: