This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/8790: Use of non thread-safe strtok in src/localename.cc
- From: pcarlini at unitus dot it
- To: gcc-gnats at gcc dot gnu dot org
- Date: 2 Dec 2002 23:59:24 -0000
- Subject: libstdc++/8790: Use of non thread-safe strtok in src/localename.cc
- Reply-to: pcarlini at unitus dot it
>Number: 8790
>Category: libstdc++
>Synopsis: Use of non thread-safe strtok in src/localename.cc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 02 16:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Paolo Carlini
>Release: gcc-3.2.1
>Organization:
>Environment:
Any
>Description:
locale::_Impl::_Impl was recently modified in the context
of the Posix names work (see 2002-10-16 commits). However, unfortunately, strtok is *not* thread-safe.
This is a regression wrt the much limited but thread-safe
implementation present in 3.2.
>How-To-Repeat:
>Fix:
Already fixed in mainline. See 2002-11-25 and 2002-11-28
commits.
>Release-Note:
>Audit-Trail:
>Unformatted: