Changeset 1576

Show
Ignore:
Timestamp:
06/18/08 19:41:28 (4 months ago)
Author:
alo
Message:

--

Files:

Legend:

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

    r1575 r1576  
    112008-06-18  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/info.c (cherokee_info_build_print): Print the polling 
     4        method like the built-in plug-ins so it is easier to parse. 
    25 
    36        * cherokee/socket.c (cherokee_socket_sendfile): This patch fixes 
  • cherokee/trunk/cherokee/info.c

    r1571 r1576  
    9797        printf (" syslog(): no\n"); 
    9898#endif 
    99         printf ("\n"); 
    10099 
    101  
    102         printf ("Polling methods\n"); 
     100        printf (" polling methods: "); 
    103101#ifdef HAVE_PORT 
    104         printf (" Solaris' port(): yes\n"); 
    105 #else 
    106         printf (" Solaris' port(): no\n"); 
     102        printf ("ports "); 
    107103#endif 
    108104#ifdef HAVE_SELECT 
    109         printf (" select(): yes\n"); 
    110 #else 
    111         printf (" select(): no\n"); 
     105        printf ("select "); 
    112106#endif 
    113107#ifdef HAVE_WIN32_SELECT 
    114         printf (" Win32 select(): yes\n"); 
    115 #else 
    116         printf (" Win32 select(): no\n"); 
     108        printf ("win32-select "); 
    117109#endif 
    118110#ifdef HAVE_POLL 
    119         printf (" poll(): yes\n"); 
    120 #else 
    121         printf (" poll(): no\n"); 
     111        printf ("poll "); 
    122112#endif 
    123113#ifdef HAVE_EPOLL 
    124         printf (" epoll(): yes\n"); 
    125 #else 
    126         printf (" epoll(): no\n"); 
     114        printf ("epoll "); 
    127115#endif 
    128116#ifdef HAVE_KQUEUE 
    129         printf (" kqueue(): yes\n"); 
    130 #else 
    131         printf (" kqueue(): no\n"); 
     117        printf ("kqueue"); 
    132118#endif 
     119        printf ("\n\n"); 
    133120}