After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 157261 - gnome_vfs_async_create_as_channel calls open internally
gnome_vfs_async_create_as_channel calls open internally
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Async operations
cvs (head)
Other All
: High normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-03 17:53 UTC by Mikael Hallendal
Modified: 2005-05-06 12:33 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Patch with fix (1.52 KB, patch)
2004-11-03 17:54 UTC, Mikael Hallendal
committed Details | Review

Description Mikael Hallendal 2004-11-03 17:53:49 UTC
The call internally calls open instead of create which makes it only work on
existing files.
Comment 1 Mikael Hallendal 2004-11-03 17:54:58 UTC
Created attachment 33395 [details] [review]
Patch with fix

This patch at least calls the correct function, seems to not work that well
anyway but now it creates a file. I'll look further for why it doesn't seem to
be able to close the handle after creating it this way.
Comment 2 Christian Neumair 2005-05-01 10:07:20 UTC
Eeek! Thanks for pointing out that one. Can we have this committed, although the
"_as_channel" function family now is deprecated?
Comment 3 Christian Kellner 2005-05-06 12:33:51 UTC
I commited this one to cvs HEAD. I didnt commit the "job->handle = handle;" part
because I don't think it is necessary, is it? 
Thanks!