Ignore:
Timestamp:
23/08/06 15:20:05 (13 years ago)
Author:
spascoe
Message:

Implemented two hooks in the bbftpd source that allow
python code to be executed before and afer a fork(). This is needed
to reset python logging and will probably be usefull for other things
in the future.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_store.c

    r1392 r1448  
    4343#include <signal.h> 
    4444#include <bbftpd_private_log.h> 
     45#include <bbftpd_private_fork.h> 
    4546#include <sys/stat.h> 
    4647#if TIME_WITH_SYS_TIME 
     
    940941        */ 
    941942        flagsighup = 0 ; 
    942         if ( ( retcode = fork() ) == 0 ) { 
     943        if ( ( retcode = bbftpd_fork() ) == 0 ) { 
    943944            int     ns ; 
    944945            /* 
Note: See TracChangeset for help on using the changeset viewer.