This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] tdestroy() should allow passing 'NULL' for 'freefct' callback


2013/6/11 OndÅej BÃlka <neleai@seznam.cz>:
>
> From functional part this patch is mostly OK.
>
> I realized that there is simpler way to do this. You could test in tdestroy
> if freefct is null and set it to freenop.

I am sorry but I don't get your point here?
Your description matches changes done by this patch so I am confused by
your statement...
Never mind.

>
> There are several style issues, see:
> http://sourceware.org/glibc/wiki/Style_and_Conventions
> and post v2.

I found just one style issue with opening parenthesis and its indentation.
If there are some more style issues, please list them explicitly.

New patch (v2) is attached.

Ivosh

Attachment: glibc-tdestroy-freefct-NULL-v2.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]