GNOME Bugzilla – Bug 630863
Crash when rotating an image with a non-file URI
Last modified: 2010-10-23 22:31:43 UTC
Created attachment 171311 [details] [review] patch using Gio instead of System.IO Code is assuming the image is local and using System.IO API, patch attached that uses GIO instead
Review of attachment 171311 [details] [review]: Patch looks good. Please format patches with git format-patch in the future though. There's another occurrence of this problem in the tree, could you patch that one up as well? [j bgo-630863|AM] kyushu:f-spot $ git grep FileAttributes.ReadOnly src/Extensions/Tools/FSpot.Tools.MergeDb/FSpot.Tools.MergeDb/MergeDb.cs: File.SetAttributes (destination, File.GetAttributes (destination) & ~FileAttributes.ReadOnly); Will merge. Thanks a lot!
I re-added the "done = true;" statement which got left out though.
(In reply to comment #1) > There's another occurrence of this problem in the tree, could you patch that > one up as well? > > [j bgo-630863|AM] kyushu:f-spot $ git grep FileAttributes.ReadOnly > src/Extensions/Tools/FSpot.Tools.MergeDb/FSpot.Tools.MergeDb/MergeDb.cs: > File.SetAttributes (destination, > File.GetAttributes (destination) & ~FileAttributes.ReadOnly); > Sorry but I can't do it right now, that code needs a lot more work to work with Gio, I'm not really familiar with Gio's APIs and I gave up using f-spot until I have some time to make some more tests because of #630860