Ignore:
Timestamp:
23/08/06 15:20:05 (14 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_retr.c

    r1392 r1448  
    4444#include <signal.h> 
    4545#include <bbftpd_private_log.h> 
     46#include <bbftpd_private_fork.h> 
    4647#include <sys/stat.h> 
    4748#include <sys/types.h> 
     
    659660        ** So we are going to fork 
    660661        */ 
    661         if ( (retcode = fork()) == 0 ) { 
     662        if ( (retcode = bbftpd_fork()) == 0 ) { 
    662663                    int     ns ; 
    663664            /* 
Note: See TracChangeset for help on using the changeset viewer.