Branch: Tag:

2016-05-09

2016-05-09 16:28:36 by Martin Nilsson <nilsson@fastmail.com>

LONGEST is just INT64, so use that instead.

569: Inside #if defined(HAVE_SENDFILE) && !defined(HAVE_FREEBSD_SENDFILE) && !defined(HAVE_HPUX_SENDFILE) && !defined(HAVE_MACOSX_SENDFILE)
   S_ISREG(st.st_mode)) {    this->len = st.st_size - offset; /* To end of file */    } else { -  this->len = MAX_LONGEST; +  this->len = MAX_INT64;    }    }    while (this->len > 0) {
880:    struct pike_sendfile sf;    int iovcnt = 0;    struct svalue *cb = NULL; -  LONGEST offset, len; +  INT64 offset, len;       if (THIS->to_file) {    Pike_error("sendfile->create(): Called a second time!\n");