1
1

- Mike Protts filed the bug report that identified and fixed a problem

with SFTP stat on files >4GB in size. Previously it used 32bit math only.
Этот коммит содержится в:
Daniel Stenberg 2008-03-07 11:55:07 +00:00
родитель a55e6c10c9
Коммит f56daac7fe
2 изменённых файлов: 5 добавлений и 1 удалений

4
NEWS

@ -1,5 +1,9 @@
Version 0.19 ( )
-------------------------------
- Mike Protts filed the bug report #1908724 that identified and fixed a problem
with SFTP stat on files >4GB in size. Previously it used 32bit math only.
- Removed a stderr debug message that was accidentally left in (bug #1863153)

@ -62,7 +62,7 @@ libssh2_ntohu64(const unsigned char *buf)
msl = (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3];
lsl = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7];
return ((msl * 65536) * 65536) + lsl;
return ((libssh2_uint64_t)msl <<32) | lsl;
}
/* }}} */