From: Marcus Brinkmann <[EMAIL PROTECTED]>
Date: Thu, 4 Jan 2001 22:45:14 +0100
On Thu, Jan 04, 2001 at 04:04:14PM -0500, Roland McGrath wrote:
> > some largefile autoconf check included in shellutils, fileutils and probably
> > elsewhere doesn't recognize the Hurd stubs returning EOPNOTSUPP correctly.
> > For all those, a special case in the Debian packaging is needed to add
> > --disable-largefile to configure invocation.
>
> Please give details. autoconf is only supposed to notice ENOSYS.
Ok, I think I misunderstood that.
To clarify things: All autoconf does is check whether it can get a
64-bit off_t by defining an appropriate macro. For the Hurd this
is the case for
#define _FILE_OFFSET_BITS 64
and autoconf assumes everything else is kosher even though we do not
claim to support LFS (we don't define any of the _LFS* constants in
<unistd.h>), and a lot of the *64 functions are only implemented as
stubs and cleary marked as such.
I raised the issue with the autoconf folks, suggesting they'd check
the proper _LFS* defines, but was told that most of the systems out
there were subtly broken such that this wouldn't work.
At that time Roland suggested that we'd simply add the necessary *64
functions to libc (emulating them with the 32-bit interfaces), but I
only did those that were necessary to support libio. I'll have a go
at it now.
Mark
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd