Files
glib/glib/tests
Marco Trevisan (Treviño) c05d09044f gregex: Ensure we translate the errcode without asserting on G_REGEX_ERROR_COMPILE
Since commit 8d5a44dc in order to ensure that we were setting the errcode in
translate_compile_error(), we did an assert checking whether it was a
valid value, but we assumed that 0 was not a valid error, while it is as
it's the generic G_REGEX_ERROR_COMPILE.

So, set errcode and errmsg to invalid values before translating and
ensure we've change them.

Fixes: #2694
2022-07-15 01:46:11 +02:00
..
2022-07-05 11:06:49 +00:00
2010-07-10 23:56:45 -04:00
2010-07-05 23:43:47 -04:00
2018-12-17 16:19:31 -05:00
2011-02-13 23:49:19 -05:00
2013-11-23 00:39:07 -05:00
2010-07-07 22:03:02 -04:00
2022-07-12 11:46:34 +00:00
2011-01-27 23:07:53 -05:00
2022-04-14 15:38:47 +04:00
2021-05-13 22:16:27 +01:00
2022-05-19 12:39:33 -04:00
2022-04-28 11:22:53 +01:00