Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Possible bug with symlinks on linux ?
Re: Possible bug with symlinks on linux ? [message #35178 is a reply to message #35175] |
Thu, 19 January 2012 17:31   |
mdelfede
Messages: 1308 Registered: September 2007
|
Ultimate Contributor |
|
|
mirek wrote on Thu, 19 January 2012 08:46 |
The problem is that if there is a crash (e.g. power shutdown), file gets lost.
theide now saves files in this way: First, it saves the file, adding ".$tmp" to the filename. Then, only if save is successful, deleted the file and renames saved file.
I guess that what we really need is to create symlink for ".$tmp"....
Mirek
|
True.... we should operate directly on linked file instead, but I've (yet) no idea on how to get it.
As the link is symbolic, is just an alias, so doing your mechanics on linked file would do the job without problems, the link will still point to the right file once renamed.
Max
|
|
|
Goto Forum:
Current Time: Sat May 10 16:46:01 CEST 2025
Total time taken to generate the page: 0.02677 seconds
|