[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#281313: closed by Pierre HABOUZIT <madcoder@debian.org> (Re: Bug#281313: coreutils: Output of sort fails sort -c check if LANG is set and memory is low)

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

On Tue, Apr 17, 2007 at 08:29:23AM +0100, James Youngman wrote:
> On 4/17/07, Debian Bug Tracking System <owner@bugs.debian.org> wrote:
> >It has been closed by Pierre HABOUZIT <madcoder@debian.org>.
> >  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                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpUxnC_K66TM.pgp
Description: PGP signature

Reply to: