[Top][All Lists]

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

Re: ac_sys_largefile / fseeko problem

From: Paul Eggert
Subject: Re: ac_sys_largefile / fseeko problem
Date: 17 Mar 2003 12:13:18 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3

Guido Draheim <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]