GNOME Bugzilla – Bug 124052
shell_output problems with 'pos' return value
Last modified: 2019-03-23 21:00:21 UTC
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104027) shell_output.c doesn't handle the 'pos' return value from g_io_channel_read_line() correctly: A) It's in bytes, not characters B) The pos and length return values need to be size_t/gsize not int. (These types are different sizes on 64-bit machines)
Created attachment 20548 [details] [review] Patch fixing pos return value
Owen: thanks for the patch. Committed in the gnome-2-4 branch. I have still to commit it in CVS HEAD
Committed to CVS HEAD too.