scp doesn't work with large (>2GB) files

M.C. Vernon mcv21 at cus.cam.ac.uk
Wed Sep 12 21:14:47 EST 2001


On Wed, 12 Sep 2001, Markus Friedl wrote:

> why is O_LARGEFILE needed? is this some standard API?

It's not a standard API, except on Solaris/SunOS and Linux (as far as a
quick look will tell me). HP-UX 11i has this flag and notes "This is a
non-standard flag which may be used by 32-bit applications to access files
larger than 2 GB". OTOH, on those platforms, open() will fail on files
bigger than 2GB. This seems to me a good reason to include this flag on
platforms where it is defined. 

Regards,

Matthew

-- 
"At least you know where you are with Microsoft."
"True. I just wish I'd brought a paddle."
http://www.debian.org




More information about the openssh-unix-dev mailing list