mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 00:46:16 +01:00
Fix a C99ism
svn path=/trunk/; revision=5670
This commit is contained in:
parent
d9ef72e4e9
commit
daa4a93583
@ -1,3 +1,7 @@
|
||||
2007-08-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gregex.c: Fix a C99ism. (#462549, Kazuki IWAMOTO)
|
||||
|
||||
2007-08-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gregex.c: Handle J changes in the pattern
|
||||
|
@ -296,11 +296,13 @@ gboolean
|
||||
g_match_info_next (GMatchInfo *match_info,
|
||||
GError **error)
|
||||
{
|
||||
gint opts;
|
||||
|
||||
g_return_val_if_fail (match_info != NULL, FALSE);
|
||||
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
|
||||
g_return_val_if_fail (match_info->pos >= 0, FALSE);
|
||||
|
||||
gint opts = match_info->regex->match_opts | match_info->match_opts;
|
||||
opts = match_info->regex->match_opts | match_info->match_opts;
|
||||
|
||||
match_info->matches = pcre_exec (match_info->regex->pcre_re,
|
||||
match_info->regex->extra,
|
||||
|
Loading…
Reference in New Issue
Block a user