[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)



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.

James.



Reply to: