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

    r1358 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 
     
    13101311        */ 
    13111312        flagsighup = 0 ; 
    1312         if ( ( retcode = fork() ) == 0 ) { 
     1313        if ( ( retcode = bbftpd_fork() ) == 0 ) { 
    13131314            int     ns ; 
    13141315            /* 
Note: See TracChangeset for help on using the changeset viewer.