reopen 281313
retitle 281313 if VM is low, setlocale fails silentely
thanks

On Tue, Apr 17, 2007 at 08:29:23AM +0100, James Youngman wrote:
> On 4/17/07, Debian Bug Tracking System <[EMAIL PROTECTED]> wrote:
> >It has been closed by Pierre HABOUZIT <[EMAIL PROTECTED]>.
> 
> >  Correct, but /usr/lib/locale/locale-archive is about 67Mo. If your
> >system isn't able to map 67M, then your system is likely to have many
> >problems anyway. Glibc is not meant for embeded systems, especially due
> >to the locales (and other memory-costly features). Please use dietlibc,
> >uclibc or custom builds of the libc for that.
> 
> With all due respect, you have entirely missed the point of the bug.
> The bug is *not* that the mmap is necessary.  It is *not* that the
> amount of data is large, or that this is difficult on small systems.
> 
> The bug s that the failure is *not detected*.    If the mmap() fails,
> setlocale() should fail.

  ooh, that wasn't obvious at all in your report. Agreed, reopened, and
bug retitled to be more obvious. I'll try to work on a fix.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpYyToZvwrnf.pgp
Description: PGP signature

Reply via email to