bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] Bugs in Gawk


From: Aharon Robbins
Subject: Re: [bug-gawk] Bugs in Gawk
Date: Sun, 23 Mar 2014 21:11:25 +0200
User-agent: Heirloom mailx 12.5 6/20/10

> > Yes, but when we have RE_ENABLE_I18N disabled, we have the following code:
> > 
> > if (BE (sbcset == NULL, 0)){
> >      re_free (sbcset);
> >      *err = REG_ESPACE;
> >      return NULL;
> > }
> > 
> > So, line **re_free (sbcset);** is executed only when sbcset is NULL.
>
> re_free can perfectly deal with a NULL sbcset.

While the code might make more sense to move that line into the ifdef,
there is no real problem here.

Thanks,

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]