Samuel Dionne-Riel <
samuel@...> wrote:
> What happens is that it creates a
> temporary files, then has some troubles renaming it... thus it gives
> me this traceback:
This same behavior also causes other problems - for example, it has the
side-effect of resetting permissions and extended attributes, every
time the file is saved.
Is there a reason for this behavior? Why can't it just try to overwrite
the file in-place, like most other editors? The only obvious reason
would be for atomicity (so that it doesn't write half the file and then
fail); for which a better solution - again, adopted by some existing
programs - would be to save a backup copy of the *old* version until
it's done all it can to get the new version on disk.
--
Lennon Victor Cook
"He who receives an idea from me receives without lessening, as he who
lights his candle at mine receives light without darkening" -- Thomas
Jefferson
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
rox-users mailing list
rox-users@...
https://lists.sourceforge.net/lists/listinfo/rox-users