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

Markus Friedl markus at openbsd.org
Wed Sep 12 21:34:52 EST 2001


On Wed, Sep 12, 2001 at 12:30:08PM +0100, M.C. Vernon wrote:
> On Wed, 12 Sep 2001, Theo de Raadt wrote:
> 
> > O_LARGEFILE is an API that should never have showed up.
> > 
> > It is ridiculous twisted bullshit.  Those vendors were foolish.
> 
> OTOH, it has showed up. On AIX, HPUX, Solaris and Linux. BSD and Tru64
> don't have it. Furthermore, using this flag on platforms that support it
> should have no bad effects (assuming proper error checking).
> 
> Using O_LARGEFILE is probably the least worst solution to this problem on
> Linux at least. 

i still don't see how a flag to open(2) can help if off_t is 32 bit?



More information about the openssh-unix-dev mailing list