Browse Source

NetWare specific stat structure access incorporated

PHP-5.1
Anantha Kesari H Y 21 years ago
parent
commit
142e92bb70
  1. 4
      ext/session/session.c

4
ext/session/session.c

@ -871,7 +871,11 @@ static void last_modified(TSRMLS_D)
#define LAST_MODIFIED "Last-Modified: "
memcpy(buf, LAST_MODIFIED, sizeof(LAST_MODIFIED) - 1);
#ifdef NETWARE
strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &(sb.st_mtime.tv_sec));
#else
strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &sb.st_mtime);
#endif
ADD_HEADER(buf);
}
}

Loading…
Cancel
Save