[PATCH] glib-2.23.6 gkeyfile.c whitespaces.



Greetings all,

We have recently run into some pitfalls with the g_key_file_parse_value_as_integer() function where a whitespace at the end of a line would result in an error. If this was intended I apologize. Otherwise this small patch will first attempt to terminate any
whitespaces at the end of the value then do error checking.

Thanks for the project!

~Mark

Attachment: gkeyfile.c.diff
Description: Binary data




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]