@LiquidCake commented on this pull request.


>                       return;
                }
 
-               close(fd); /* close the returned file descriptor as we only 
need the filename */
+               old_file_name = g_path_get_basename(old_file_path);
+
+               if (is_temp_saved_file(old_file_name) && ! 
g_str_equal(old_file_path, new_file_path))
+               {
+                       /* we have to store old/new filename pair in a global 
hashtable to be able to somehow
+                       pass it to document-save callback that is called 
directly after this one */
+                       g_hash_table_insert(

done

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3911#discussion_r1650071263
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3911/review/[email protected]>

Reply via email to