Comment 19 for bug 34813

Revision history for this message
Peter Würtz (pwuertz) wrote :

in line 670, gedit tries to rename the file to a backup file... like moving "testfile" to "testfile~"

if (rename (saver->priv->local_path, backup_filename) != 0)

I checked "local_path" and "backup_filename", they are correct. I also wrote a small test application using "rename()" from stdio.h and renamed the same files on the mounted cifs filesystem, which works.

I'm not a gnome developer, could someone help me out here please? I assume the rename() function is not the rename function from stdio.h, does gnome implement its own rename?