måndag den 7 maj 2012 klockan 14:46 skrev Martin Hicks detta: > Package: ftp > Version: 0.17-23 > > Using RESTart points > 4GB followed by a STORe command fails because > fseek() only takes long arguments instead of long long. >
Please try the following variation. I am at an OpenSolaris system, so I need your verification at the time of writing this reply. Best regards, Mats Erik Andersson, co-maintainer of netkit-ftp. --- ftp/ftp.c.origt 2012-05-07 14:32:52.000000000 -0400 +++ ftp/ftp.c 2012-05-07 20:37:04.000000000 +0200 @@ -725,7 +725,7 @@ if (restart_point && (strcmp(cmd, "STOR") == 0 || strcmp(cmd, "APPE") == 0)) { - if (fseek(fin, restart_point, 0) < 0) { + if (fseeko(fin, restart_point, SEEK_SET) < 0) { fprintf(stderr, "local: %s: %s\n", local, strerror(errno)); restart_point = 0; -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org