64bit fix
This commit is contained in:
parent
8d63e4a1ea
commit
7c2609d908
|
|
@ -1,7 +1,8 @@
|
|||
fixed sf bug 1060594: fspd: owner can't rename files
|
||||
fixed sf bug 1060558: fpro 'l' sets 'm' flag instead
|
||||
fixed sf bug 1060558: fpro 'l' sets 'm' flag instead (dairiki)
|
||||
fixed sf bug 1060558: fpro 'l' flag was not correctly saved
|
||||
into filesystem
|
||||
fixed sf bug 1060555: fix for 64-bit systems (dairiki)
|
||||
fmvcmd: do not send trailing junk to the server
|
||||
print key=, seq= in fspd debugs with fixed width for easy reading
|
||||
added BUGS and HISTORY sections to fspscan.1 manual page
|
||||
|
|
|
|||
|
|
@ -257,7 +257,7 @@ static int util_download_main (char * path, char * fpath, FILE * fp,
|
|||
wrote = fwrite(ub->buf,1,rlen,fp);
|
||||
/* check for long integer pos overflow */
|
||||
#if SIZEOF_LONG > 4
|
||||
if(pos+bytes>FOURGIGS)
|
||||
if(pos+wrote>FOURGIGS)
|
||||
break;
|
||||
#else
|
||||
if(pos+wrote<pos)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user