[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [gftp] Getting ready for next gFTP release



Brian Masney wrote:

> On Thu, Mar 18, 2004 at 05:52:35PM +0100, Oliver Lehmann wrote:
> > Brian Masney wrote:
> > 
> > 
> > > Oliver, I tested my code under FreeBSD 4.8/axp and I have created
> > > the patch gftp-bsd-largefile-source.patch that makes sure that gftp
> > > uses O_LARGEFILE. It required a change to configure.in, so you will
> > > need to regenerate configure. In case you don't have
> > > automake/autoconf, I put the new configure online at
> > > http://www.gftp.org/configure.gz
> > 
> > Hi, I compiled it with my FreeBSd 4.9 box, and it looks like it
> > doesn't get defined. my 4Gb files are showned as 2GB files.
> > When I define _LARGEFILE_SOURCE hard in config.h it compiles and
> > works. It looks like the detection in gftp.h doesn't work properly
> 
> Hey,
>    Did you download the new configure from my website and rerun
>    configure?
> In the config.h, what is SIZEOF_OFF_T defined to be?  On my laptop and
> DEC Alpha, it is #define SIZEOF_OFF_T 8


there is an "#undef SIZEOF_OFF_T" in config.h.in and an
"s@SIZEOF_OFF_T@%$SIZEOF_OFF_T%@g" in configure missing. I added that and
it compiles fine with largefile support.


-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/