diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2014-11-21 02:06:22 -0200 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2014-11-21 02:16:02 -0200 |
commit | 7729e0e91afbf8d45bb322d7e2d53f417fab01ed (patch) | |
tree | b081908ff729dc647b179cb425fbe721e857cbe8 /ChangeLog | |
parent | a4ea5e2809a20521e4300725d5062768883ffc50 (diff) | |
download | glibc-7729e0e91afbf8d45bb322d7e2d53f417fab01ed.tar.gz glibc-7729e0e91afbf8d45bb322d7e2d53f417fab01ed.tar.xz glibc-7729e0e91afbf8d45bb322d7e2d53f417fab01ed.zip |
ctermid: return string literal, document MT-Safety pitfall
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d57c023ac1..96aafaeda0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2014-11-21 Alexandre Oliva <aoliva@redhat.com> + * 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. + +2014-11-21 Alexandre Oliva <aoliva@redhat.com> + * manual/users.texi (cuserid): Fix MT-Safety note for the case of not passing it a buffer. Reported by Peng Haitao. |