Ignore:
Timestamp:
2010-03-27T01:00:33+01:00 (7 years ago)
Author:
jow
Message:

[package] uhttpd:

  • make script timeout configurable
  • catch SIGCHLD to properly interrupt select()
  • flag listen and client sockets as close-on-exec
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/uhttpd/src/uhttpd-utils.h

    r20428 r20500  
    3333#define foreach_header(i, h) \ 
    3434        for( i = 0; (i + 1) < (sizeof(h) / sizeof(h[0])) && h[i]; i += 2 ) 
     35 
     36#define fd_cloexec(fd) \ 
     37        fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC) 
    3538 
    3639struct path_info { 
Note: See TracChangeset for help on using the changeset viewer.