source: net-ftp/oftpd/files/oftpd-0.3.7-unistd.patch @ f3987e6

Revision f3987e6, 448 bytes checked in by Mario Fetka <mario.fetka@…>, 10 months ago (diff)

Bump

  • Property mode set to 100644
  • oftpd-0.3.7/src/daemon_assert.c

     
    33#include <pthread.h> 
    44#include <syslog.h> 
    55#include <stdio.h> 
     6#include <unistd.h> 
    67 
    78#ifndef NDEBUG 
    89void daemon_assert_fail(const char *assertion, 
     
    1313{ 
    1414    syslog(LOG_CRIT, "%s:%d: %s: %s", file, line, function, assertion); 
    1515    fprintf(stderr, "%s:%d: %s: %s\n", file, line, function, assertion); 
    16     exit(1); 
     16    _exit(1); 
    1717} 
    1818#endif 
    1919 
Note: See TracBrowser for help on using the repository browser.