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 702333 - GFileEnumerator: Add g_file_enumerator_iterate()
GFileEnumerator: Add g_file_enumerator_iterate()
Status: RESOLVED DUPLICATE of bug 661554
Product: glib
Classification: Platform
Component: gio
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-06-15 13:27 UTC by Colin Walters
Modified: 2015-02-20 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin Walters 2013-06-15 13:27:49 UTC
TL;DR: g_file_enumerator_next() is really annoying to use from C since one has to allocate a temporary GError to distinguish "end of iteration" versus "error" in the gboolean return value.

See https://git.gnome.org/browse/libgsystem/commit/?id=077fc095208e8429400763f0e41ac7c8884e8c1e
Comment 1 Colin Walters 2015-02-20 15:10:51 UTC

*** This bug has been marked as a duplicate of bug 661554 ***