This is a short test-case based on the gnome-gpg code.

Build with:
    gcc `pkg-config --cflags --libs gtk+-2.0` gchannel.c -o gchannel

Expected output:

read_status saw G_IO_IN -- reading
read size: 6
read_status saw G_IO_HUP -- quitting

Output with glib2.0 2.12.5-1ubuntu2:

read_status saw G_IO_IN -- reading
read size: 6
read_status saw G_IO_IN -- reading
read size: 0
read_status saw G_IO_IN -- reading
read size: 0
...


** Attachment added: "example that spins on feisty"
   http://librarian.launchpad.net/5516986/gchannel.c

-- 
GIOChannel not noticing closed file descriptors
https://launchpad.net/bugs/76922

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to