[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf
Subject: Re: ac_sys_largefile / fseeko problem
From: Paul Eggert <eggert () CS ! UCLA ! EDU>
Date: 2003-03-17 20:13:18
Message-ID: vi84r613g69.fsf () cs ! ucla ! edu
[Download RAW message or body]
Guido Draheim <guidod-2003-@gmx.de> writes:
> The glibc cvs stdio.h should be fixed, - atleast do export fseeko
> when #def __USE_FILE_OFFSET64 is set!
POSIX 1003.1-2001 says that fseeko should be exported by any
implementation that claims conformance to XSI. glibc doesn't claim
that yet, but it will in due course, and I think that's your best
argument for having glibc export fseeko by default.
In other words, just as stdio.h exports fileno by default (even though
the C Standard prohibits this), it should also export fseeko by
default. In both cases, exporting by default will cause fewer
problems in practice.
> Note that C compilers wouldn't even warn about the
> missing fseeko declaration
C99 requires a diagnostic for this, so this problem will go away
eventually.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic