@LiquidCake commented on this pull request.


In plugins/saveactions.c:

>  			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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3911/review/2134274767@github.com>