This is the mail archive of the
mailing list for the GCC project.
Re: Patch to libstc++: Remove strdup from locale_facets.tcc
On Tue, Sep 10, 2002 at 05:01:28AM +0200, Paolo Carlini wrote:
> Phil Edwards wrote:
> >On Mon, Sep 09, 2002 at 08:30:07PM -0500, Loren James Rittle wrote:
> >>In article <firstname.lastname@example.org> you write:
> >>>2002-09-10 Danny Smith <email@example.com>
> >>> * include/bits/locale_facets.tcc (__convert_from_v):
> >>> Replace strdup with ANSI malloc and strcpy.
> >>Approved for mainline. Concurrently, approved for 3.2.X branch since
> >>it is a regression from libstdc++-v2 as shipped with gcc 2.95.3.
> >And if you haven't checked it in before this email reaches you, please
> >change 'ANSI' to 'ISO' in your changelog entry.
> ... and if this is the right fix, then you may want to massage *all* the
> strdup present in the library too:
Aren't these files which are used for libstdc++ compilation only and thus
it shouldn't matter (wonder why ctype_noninline.h is installed BTW)?