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_rfio.c

    r1358 r1448  
    4141#include <signal.h> 
    4242#include <bbftpd_private_log.h> 
     43#include <bbftpd_private_fork.h> 
    4344#include <sys/stat.h> 
    4445#if TIME_WITH_SYS_TIME 
     
    715716        ** So we are going to fork 
    716717        */ 
    717         if ( (retcode = fork()) == 0 ) { 
     718        if ( (retcode = bbftpd_fork()) == 0 ) { 
    718719                    int     ns ; 
    719720            /* 
Note: See TracChangeset for help on using the changeset viewer.