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: ctermid: return string literal, document MT-Safety pitfall


On Sat, 2014-11-08 at 16:01 +0100, Richard Henderson wrote:
> On 11/08/2014 03:20 PM, Alexandre Oliva wrote:
> > ctermid: return string literal, document MT-Safety pitfall
> > 
> > From: Alexandre Oliva <aoliva@redhat.com>
> > 
> > for  ChangeLog
> > 
> > 	* sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
> > 	string literal if not passed a buffer.
> > 	* manual/job.texi (ctermid): Update reasoning, note deviation
> > 	from posix, suggest mtasurace when not passed a buffer, for
> > 	future non-preliminary safety notes.
> 
> LGTM.

Same for me.


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