Bug ID: 417645
           Summary: seekPos probably doesn't work at all
           Product: kio-extras
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: SFTP
  Target Milestone: ---


`while ((offset = QT_LSEEK(fd, pos, mode)) == EAGAIN);`

QT_LSEEK is simply a define for lseek based on platform capabilities. lseek
does return -1 on error + sets errno. otherwise it returns the offset. so,
checking == EAGAIN makes absolutely no sense.

Test and probably fix seekPos (used for partial file resume).

You are receiving this mail because:
You are watching all bug changes.

Reply via email to