On 05/20/13 07:36, Peng Haitao wrote: > The functions re_comp() and re_exec() are not thread safe. > > Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> Thanks, Peng. Applied in my local branch for this work. Cheers, Michael > --- > man3/re_comp.3 | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/man3/re_comp.3 b/man3/re_comp.3 > index b1c3295..ca4ef64 100644 > --- a/man3/re_comp.3 > +++ b/man3/re_comp.3 > @@ -63,6 +63,13 @@ otherwise it returns a pointer to an appropriate error message. > > .BR re_exec () > returns 1 for a successful match, zero for failure. > +.SH ATTRIBUTES > +.SS Multithreading (see pthreads(7)) > +The > +.BR re_comp () > +and > +.BR re_exec () > +functions are not thread-safe. > .SH CONFORMING TO > 4.3BSD. > .SH NOTES > -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html