[Box Backup] Bug fix - don't die on lstat failure

Nick Knight boxbackup@fluffy.co.uk
Wed, 15 Dec 2004 09:20:44 -0000


Ben is correct, because the compiler just points to the 64 bit versions
- which are different calls the linker is explicit, I have tested the 64
bit version and have large files in my store under Linux.

Nick

-----Original Message-----
From: boxbackup-admin@fluffy.co.uk [mailto:boxbackup-admin@fluffy.co.uk]
On Behalf Of Joe Krahn
Sent: 14 December 2004 16:18
To: boxbackup@fluffy.co.uk
Subject: Re: [Box Backup] Bug fix - don't die on lstat failure

Nick Knight wrote:
> From reading the docs on lstat and linux lfs when the compiler flags
are
> used to enable large file support this switches calls to the 64 bit
> versions (lstat64).
>=20
> Although in my experience if a bad lstat is called fro whatever reason
> then the backup will die, I second a fix to make the lstat more like a
> bad read...
>=20
> Nick
When you mention compiler flags, do you mean the following defines?
'-D_LARGEFILE_SOURCE' and `-D_FILE_OFFSET_BITS=3D64'

Or is there also an actual compiler flag?
In either case, are any large-file flags currently in the boxbackup
source?

Joe Krahn






_______________________________________________
boxbackup mailing list
boxbackup@fluffy.co.uk
http://lists.warhead.org.uk/mailman/listinfo/boxbackup