Avoid relying on implementation-specific behavior when detecting
authormillert <millert@openbsd.org>
Fri, 28 Apr 2017 03:21:12 +0000 (03:21 +0000)
committermillert <millert@openbsd.org>
Fri, 28 Apr 2017 03:21:12 +0000 (03:21 +0000)
commitf711dfeffbad37dbf92be6e1de44579de054d16f
tree6a27100fab4c5e5213eec460ab15f962bb0d273c
parentce1fa632752ec951a775a9157933c77c9ae3e168
Avoid relying on implementation-specific behavior when detecting
whether the timestamp or file size overflowed.  If time_t and
off_t are not either 32-bit or 64-bit scp will exit with an error.
OK djm@
usr.bin/ssh/scp.c