This is the mail archive of the glibc-bugs@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]

[Bug libc/13752] [2.15 backport] scanf always calls realloc


http://sourceware.org/bugzilla/show_bug.cgi?id=13752

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |carlos_odonell at mentor
                   |                            |dot com
         Resolution|                            |WONTFIX

--- Comment #1 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-02 01:48:27 UTC ---
I am not going to backport this change to the stable 2.15 branch. This is not a
correctness issue it's only a performance issue.

As it stands the 2.15 branch *always* uses realloc and that is OK.

I don't want to backport this patch because it would enable the use of alloca
where there previously had not been such a use and I feel we haven't had enough
testing to validate that this doesn't cause some unforeseen consequence.

In general I'm going to avoid changes that introduce alternate memory
allocations or stack usage unless those patches are for correctness.

Please reopen this issue if you would like to discuss the reasons you have for
wanting this backport to 2.15, for example you have a use case where this is a
*serious* performance issue.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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