GNOME Bugzilla – Bug 546300
g_file_replace_async doesn't allow NULL etag
Last modified: 2008-08-06 07:09:02 UTC
Although the docs say that g_file_replace should be able to handle NULL for the etag, it crashes when I tried this on a sftp file. I'm not sure if this is a gvfs problem, or that maybe dbus should be able to handle a NULL string? Backtrace is attached. Program received signal SIGSEGV, Segmentation fault.
+ Trace 204579
Thread 3068421920 (LWP 28070)
Created attachment 115907 [details] [review] set etag to emtpy string if NULL This fixes the problem (same thing can be found in g_file_replace)
Good catch. Thanks. Commit to svn trunk please.
Committed to trunk.