Changeset 1909

Show
Ignore:
Timestamp:
08/15/2007 09:50:58 AM (11 months ago)
Author:
jan
Message:

merged [1908] from 1.4.x (fixes #1279)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/NEWS

    r1897 r1909  
    1313  * fixed crash in mod_expire if 'modification' is used and stat() failed (#1063) 
    1414  * fixed hardcoded font-sizes in mod_dirlisting (#1267) 
     15  * fixed different ETag length on 32/64 platforms (#1279) 
    1516 
    1617- 1.4.14 - ??? 
  • trunk/src/etag.c

    r1349 r1909  
    11#include <string.h> 
     2#include <stdint.h> 
    23 
    34#include "buffer.h" 
     
    2021 
    2122int etag_mutate(buffer *mut, buffer *etag) { 
    22         size_t h, i; 
     23        size_t i; 
     24        uint32_t h; 
    2325 
    2426        for (h=0, i=0; i < etag->used; ++i) h = (h<<5)^(h>>27)^(etag->ptr[i]);