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/sendafilerfio.c

    r1431 r1448  
    7070#include <signal.h> 
    7171#include <bbftpd_private_log.h> 
     72#include <bbftpd_private_fork.h> 
    7273#include <sys/stat.h> 
    7374#include <sys/time.h> 
     
    380381        ** So we are going to fork 
    381382        */ 
    382         if ( (retcode = fork()) == 0 ) { 
     383        if ( (retcode = bbftpd_fork()) == 0 ) { 
    383384            /* 
    384385            ** We are in child 
Note: See TracChangeset for help on using the changeset viewer.