64bit fix

This commit is contained in:
hsn 2004-11-16 18:00:14 +00:00
parent 8d63e4a1ea
commit 7c2609d908
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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)