Changeset 1877

Show
Ignore:
Timestamp:
08/20/08 11:54:11 (3 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1875 r1877  
     12008-08-20  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/util.h, cherokee/util.c (cherokee_mkdir_p): Adds a new 
     4        cheroke_mkdir() and fixes compilation on Windows: 
     5        http://code.google.com/p/cherokee/issues/detail?id=96 
     6 
    172008-08-19  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
    28 
     
    1521        * cherokee/handler_dirlist.c: Fixes a problem with redirections of 
    1622        local user directories. 
    17          
     23 
    1824        * admin/CherokeeManagement.py: Fixes a problem with the Hard 
    1925        restart. Reported by Miguel Angel Ajo. 
     
    2430        Keepalive connections. This regression was introducced right 
    2531        before releasing 0.8.0. 
    26          
     32 
    2733        * cherokee/handler_dirlist.c: Adds a final slash whenever the list 
    2834        entry is a directory, so next request does go through a 
    2935        redirection reply. 
    30          
     36 
    3137        * cherokee/handler_dirlist.c: Fixes an issue redirecting 
    3238        connections when the server does not run on the port 80. 
    3339 
    34402008-08-17  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
    35          
     41 
    3642        * cherokee/handler.h, cherokee/connection.c: Slightly improves the 
    3743        chunked encoding support. 
  • cherokee/trunk/cherokee/util.c

    r1868 r1877  
    13711371 
    13721372                *p = '\0'; 
    1373                 re = mkdir (path->buf, 0700); 
     1373                re = cherokee_mkdir (path->buf, 0700); 
    13741374                if ((re != 0) && (errno != EEXIST)) { 
    13751375                        PRINT_ERRNO (errno, "Could not mkdir '%s': ${errno}\n", path->buf); 
     
    13831383        } 
    13841384 
    1385         re = mkdir (path->buf, 0700); 
     1385        re = cherokee_mkdir (path->buf, 0700); 
    13861386        if ((re != 0) && (errno != EEXIST)) { 
    13871387                PRINT_ERRNO (errno, "Could not mkdir '%s': ${errno}\n", path->buf); 
  • cherokee/trunk/cherokee/util.h

    r1768 r1877  
    6565 
    6666#ifdef _WIN32 
    67 # define cherokee_stat(path,buf)  cherokee_win32_stat(path,buf) 
    68 # define cherokee_lstat(path,buf) cherokee_win32_stat(path,buf) 
    69 # define cherokee_error           GetLastError() 
     67# define cherokee_stat(path,buf)   cherokee_win32_stat(path,buf) 
     68# define cherokee_lstat(path,buf)  cherokee_win32_stat(path,buf) 
     69# define cherokee_error            GetLastError() 
     70# define cherokee_mkdir(path,perm) mkdir(path) 
    7071#else 
    71 # define cherokee_stat(path,buf)  stat(path,buf) 
    72 # define cherokee_lstat(path,buf) lstat(path,buf) 
    73 # define cherokee_error           errno 
     72# define cherokee_stat(path,buf)   stat(path,buf) 
     73# define cherokee_lstat(path,buf)  lstat(path,buf) 
     74# define cherokee_error            errno 
     75# define cherokee_mkdir(path,perm) mkdir(path,perm) 
    7476#endif 
    7577