octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45864] mkoctfile is unable to overwrite oct-f


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45864] mkoctfile is unable to overwrite oct-files that have been loaded on Windows
Date: Mon, 4 Jul 2016 00:03:04 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #14, bug #45864 (project octave):

It's been almost too long to remember what was going on in this bug. I think I
was trying to come up with a routine that could clear all of the functions in
a compiled .oct file by name that we could drop into mkoctfile. This would
allow it to try to unload before overwriting the .oct file.

So I think what needs testing is

1. start with a .cc file that defines more than one DEFUN_DLD
2. compile it with mkoctfile
3. declare the autoload for the second function if necessary
4. check that both functions work
5. try to compile it again, mkoctfile should fail to overwrite
6. call 'clearoct("NAME.oct")' with the literal name of the file
7. try to compile NAME.cc again, does it work now?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45864>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]