[This typo came from NetBSD, so in this particular source I have no
intention of changing the style.]
What do folks think about
1) if (data)
free(data);
versus
2) free(data);
versus
3) #define xfree(x) if ((x) != NULL) free(x);
xfree(data);
--
Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED]
On Sun, Dec 17, 2000 at 01:10:41PM -0800, Jacques Vidrine wrote:
> nectar 2000/12/17 13:10:41 PST
>
> Modified files:
> lib/libc/gen getgrent.c
> Log:
> Fix mostly harmless typo:
>
> if (data);
> free(data);
>
> Discovered by: emacs cc-mode
>
> Revision Changes Path
> 1.19 +2 -2 src/lib/libc/gen/getgrent.c
>
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Re: Why not another style thread? (was Re: cvs commit:s... Jacques A. Vidrine
- Re: Why not another style thread? (was Re: cvs com... Chris Costello
- Re: Why not another style thread? (was Re: cvs... Bosko Milekic
- Re: Why not another style thread? (was Re:... Chris Costello
- Re: Why not another style thread? (was Re: cvs... Jacques A. Vidrine
- Re: Why not another style thread? (was Re:... Chris Costello
- Re: Why not another style thread? (was... Jacques A. Vidrine
- Re: Why not another style thread?... Chris Costello
- Re: Why not another style thr... Jacques A. Vidrine
- Re: Why not another style thr... Warner Losh
- Re: Why not another style... Jacques A. Vidrine

