Re: [GENERAL] Linux Largefile Support In Postgresql RPMS

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Linux Largefile Support In Postgresql RPMS
Date: 2002-08-13 14:34:21
Message-ID: 1029249262.1135.610.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, 2002-08-13 at 15:23, Tom Lane wrote:

> > typedef long int OFF_T;
>
> Why not just use off_t? In both cases?

The prototype for fseek() is long int; I had assumed that off_t was not
defined if _LARGEFILE_SOURCE was not defined.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Watch ye therefore, and pray always, that ye may be
accounted worthy to escape all these things that shall
come to pass, and to stand before the Son of man."
Luke 21:36

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2002-08-13 14:46:20 OpenFTS 0.33 Release
Previous Message Tommi Maekitalo 2002-08-13 14:32:11 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-08-13 14:38:00 Re: [COMMITTERS] pgsql-server/src
Previous Message Tommi Maekitalo 2002-08-13 14:32:11 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS