scp doesn't work with large (>2GB) files
Jani Jaakkola
jjaakkol at cs.Helsinki.FI
Thu Sep 13 02:15:16 EST 2001
On Wed, 12 Sep 2001 mouring at etoh.eviladmin.org wrote:
>
> [..]
> > Yes, indeed. Can this go into the next release? adding a CFLAG of
> > -D_FILE_OFFSET_BITS=64 for systems like Linux would be fine. In the
> > mean time, I'll add it by hand to the debian/rules file.
> >
>
> Does this adversity affect older than 2.2 and below kernels? If not then
> I will enable it in the configure.in by default for Linux.
No, older kernels just ignore O_LARGEFILE. And if the libc is old enough
_FILE_OFFSET_BITS=64 does nothing. (glibc-2.0 is old enough).
So unless openssh has some hidden assumptions about sizeof(off_t) it
should be safe. Anyway, if there is such hidden assumptions, it would be
better if they will be exposed.
- Jani
More information about the openssh-unix-dev
mailing list