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: [PATCH] Improve the width of alternate representation for year in strftime [BZ #23758]


23.10.2018 14:54 Florian Weimer <fweimer@redhat.com> wrote:
> [...]
> This should also avoid the need for new memory allocations.
> 
> Thanks,
> Florian

While at this, Florian, I think you tried to eliminate all occurrences
of alloca family functions in the past.  I can see that Tamuki Shoichi's
patch uses alloca family optionally.  Shouldn't this patch just assume
that alloca is never used, and using_malloc is always true and therefore
can be dropped?  The patch would be simpler and IIUC more secure.

Regards,

Rafal


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