Files
glib/glib
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-06-27 17:53:25 -04:00
2022-05-23 09:19:45 -04:00
2022-06-29 16:05:09 +02:00
2021-07-29 10:09:27 -04:00
2022-06-23 10:47:22 +01:00
2022-06-23 10:47:22 +01:00
2022-06-23 10:47:22 +01:00
2020-11-17 15:50:07 +00:00
2018-01-04 22:19:30 +01:00
2022-06-30 01:46:32 +01:00
2022-07-12 20:03:56 -05:00
2021-09-21 09:41:29 +00:00
2021-11-18 14:32:09 +00:00
2022-07-12 11:46:34 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2021-09-21 09:41:29 +00:00
2022-07-12 11:46:34 +00:00