This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: getcwd() uses ENAMETOOLONG instead of ERANGE
- From: Dwayne Grant McConnell <decimal at us dot ibm dot com>
- To: Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 10 Mar 2006 11:14:24 -0600 (CST)
- Subject: Re: getcwd() uses ENAMETOOLONG instead of ERANGE
- References: <4411AF19.2040300@aurel32.net>
On Fri, 10 Mar 2006, Aurelien Jarno wrote:
> A few days ago, I submitted BZ 2417:
> http://sourceware.org/bugzilla/show_bug.cgi?id=2417
>
> Even if not applied now, I would like to know if you think the proposed patch
> looks acceptable to you, so that we can include it in the Debian glibc
> package.
Here are my comments in the bug.
> When you say "on all architectures but ia64" do you mean this is true
> for the generic kernel or is this Debian specific? On OpenSUSE x86 10.0
> I get ERANGE.
> I do not see why glibc should put in a patch to work around a bug in the
> kernel. This bug should be fixed in the kernel only. If glibc put in a
> workaround for every simple kernel bug which could be fixed the code
> would quickly become unmanageable.
--
Dwayne Grant McConnell <decimal@us.ibm.com>
Lotus Notes Mail: Dwayne McConnell [Mail]/Austin/IBM@IBMUS
Lotus Notes Calendar: Dwayne McConnell [Calendar]/Austin/IBM@IBMUS