Re: [patch] Keep executability of config.status-ed files

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

 



Akim Demaille wrote:
How about cp FILE.in FILE and then perform the transformation from
FILE.in's contents to (>) FILE?

This will not work correctly on Windows. At best, it will throw an error because FILE is locked (being read by sed) while the > is trying to open it for writing. At worst, you will simply lose the contents of FILE (for the same reason). In my experiments, the latter occurred.


-- ES




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux