Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mdelfede is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug: Searching finds the end of the line instead of in text
Next Topic: Bug when viewing log file
Goto Forum:
  


Current Time: Sat May 10 14:04:27 CEST 2025

Total time taken to generate the page: 0.02928 seconds