lkml.org 
[lkml]   [1996]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: behavior of overwriting running executables?
Date
Julio Sanchez <jsanchez@esegi.es> said:
> Tom Bjorkholm <tomb@tomb.mydata.se> writes:
> >
> > I think ld should do an unlink before it trys to write to the output file.
>
> Seconded. That or something that achieves the same effect. There is

It's been done. From the binutils snapshot changelog:

Thu May 16 16:34:13 1996 Ian Lance Taylor <ian@cygnus.com>

* cache.c (bfd_open_file): Unlink the file before opening it for
write. From Marty Leisner <leisner@sdsp.mc.xerox.com>.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.050 / U:4.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site