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

Wichert Akkerman wichert at wiggy.net
Wed Sep 12 23:55:40 EST 2001


Previously Markus Friedl wrote:
> i still don't see how a flag to open(2) can help if off_t is 32 bit?

If I remember correctly you can compile with some option that turns
off_t into a long long 64bit type. glibc will use a second set of
64bit syscall for file operations as well when present in the kernel
so it all becomes transparent to the application.

Wichert.

-- 
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert at wiggy.net                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



More information about the openssh-unix-dev mailing list