help-octave
[Top][All Lists]
Advanced

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

Re: mkoctfile: Problems sometimes during linking of text file


From: Joao Cardoso
Subject: Re: mkoctfile: Problems sometimes during linking of text file
Date: Thu, 20 Apr 2000 04:36:40 +0100

sorry :(

Joao Cardoso wrote:
> 
> "John W. Eaton" wrote:
> >
> > On 19-Apr-2000, Stephen Eglen <address@hidden> wrote:

...

> > I believe `text file busy' can happen on some systems when you try to
> > write to an executable file that is running at the time,

...

> > so I don't
> > think this is really a problem with mkoctfile, but maybe it can be
> > avoided.  Does the following change to mkoctfile.in help (for 2.1.x,
> > but should also work for the 2.0.x sources)?  If not, I'm not sure
> > what else can be done.
> >
> > jwe
> >
> > Index: mkoctfile.in
> > ===================================================================
> > RCS file: /usr/local/cvsroot/octave/mkoctfile.in,v
> > retrieving revision 1.18
> > diff -c -r1.18 mkoctfile.in
> > *** mkoctfile.in        2000/02/08 19:19:18     1.18
> > --- mkoctfile.in        2000/04/19 15:37:49
> > ***************
> > *** 187,192 ****
> > --- 187,195 ----
> >     done
> >   fi
> >
> > + $dbg "rm -f $octfile"
> > + rm -f $octfile

On my system, that don't allow to overwrite the file of a running
process, this don't work, as one can't remove the file of a running
process. By `file' I mean the executable object disk file. Sorry, no
computer scientist here...

Joao



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

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