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 555465 - GUnix{Input,Output}Stream lacks fd/close_fd_at_close property
GUnix{Input,Output}Stream lacks fd/close_fd_at_close property
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2008-10-07 21:17 UTC by Maciej (Matthew) Piechotka
Modified: 2008-12-08 05:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
0001-Added-properties-to-GUnixInputStream.patch (6.01 KB, patch)
2008-10-09 11:20 UTC, Maciej (Matthew) Piechotka
none Details | Review
0002-Added-properties-to-GUnixOutputStream-and-some-fixes.patch (7.17 KB, patch)
2008-10-09 19:53 UTC, Maciej (Matthew) Piechotka
none Details | Review
0003-Making-it-compile.patch (4.34 KB, patch)
2008-10-10 10:16 UTC, Maciej (Matthew) Piechotka
none Details | Review

Description Maciej (Matthew) Piechotka 2008-10-07 21:17:17 UTC
There is no propety fd/close_fd_at_close which might be used when subclassing GUnix{Input,Output}Stream and/or creating via g_object_new*.
Comment 1 Maciej (Matthew) Piechotka 2008-10-09 11:20:25 UTC
Created attachment 120259 [details] [review]
0001-Added-properties-to-GUnixInputStream.patch

Patch (actually a git patch), showing what I meant, for GUnixInputStream.
Comment 2 Maciej (Matthew) Piechotka 2008-10-09 19:53:04 UTC
Created attachment 120302 [details] [review]
0002-Added-properties-to-GUnixOutputStream-and-some-fixes.patch

The patch (please note that it requires previous one) fixing the bug (without documentation).
Comment 3 Maciej (Matthew) Piechotka 2008-10-10 10:16:05 UTC
Created attachment 120330 [details] [review]
0003-Making-it-compile.patch

After making glib compilable (see separate bug) I've found those spelling mistakes.
Comment 4 Matthias Clasen 2008-12-08 05:41:51 UTC
        * gio.symbols:
        * gunixinputstream.[hc]:
        * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
        including getters and setters. Patch by Maciej Piechotka