Changeset 1980

Show
Ignore:
Timestamp:
09/02/2007 07:48:47 PM (12 months ago)
Author:
jan
Message:

fixed compile error on IRIX 6.5.x on prctl()

Location:
branches/lighttpd-1.4.x
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/NEWS

    r1978 r1980  
    44==== 
    55 
    6 - 1.4.17 - 
     6- 1.4.18 - 
     7  * fixed compile error on IRIX 6.5.x on prctl() (#1333) 
    78 
    89 
  • branches/lighttpd-1.4.x/src/server.c

    r1958 r1980  
    776776                } 
    777777#endif 
    778 #ifdef HAVE_SYS_PRCTL_H 
     778#if defined(HAVE_SYS_PRCTL_H) && defined(PR_SET_DUMPABLE) 
     779                /** 
     780                 * on IRIX 6.5.30 they have prctl() but no DUMPABLE 
     781                 */ 
    779782                if (srv->srvconf.enable_cores) { 
    780783                        prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);