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

Theo de Raadt deraadt at cvs.openbsd.org
Wed Sep 12 21:22:03 EST 2001


O_LARGEFILE is an API that should never have showed up.

It is ridiculous twisted bullshit.  Those vendors were foolish.

> 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