On 4/8/22 16:27, Alan Coopersmith wrote:
Something that one of our engineers has recently discovered while
looking into a different HAL issue (problems with the power button
signalling) is that HAL appears to include a NULL byte at the end
of the messages it sends, which g_utf8_get_char_validated() rejects
now, due to:

https://gitlab.gnome.org/GNOME/glib/-/commit/568720006cd1da3390c239915337ed0a56a23f2e
https://gitlab.gnome.org/GNOME/glib/-/issues/1052

which appears to cause g_io_channel_fill_buffer() to read the message
from the pipe, but then not process it.

The fix that engineer came up with is now visible at:
https://gitlab.freedesktop.org/alanc/hal/-/commit/8865b8583d96587c9bd2f80b51996b7b0e5681bd

which only covers half of what Gary had suggested in the illumos bug:
https://www.illumos.org/issues/14227

but as noted above, they were chasing different symptoms.

        -alan-

_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to