[Top][All Lists]

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

Re: largefile64 on ports

From: Kevin Ryde
Subject: Re: largefile64 on ports
Date: Thu, 28 Sep 2006 10:27:26 +1000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden (Ludovic Courtès) writes:
> What I was suggesting is to have only
> one version of each function that uses, say, `scm_off_t' and
> `scm_size_t' which both turn out to be 64-bit data types.

(You only mean off_t here of course, there's no variation in size_t.)

Having off64_t unconditionally would, I believe, need
_LARGEFILE64_SOURCE in ports.h, but it's bad in general to force such
options in library headers like guile's.

A plain off_t is good for current source compatibility, and for the
convenience that if you're interfacing with a plain off_t library then
it's annoying to have to have explicit range checks down from off64_t.

reply via email to

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