Changeset 136 for trunk/orca/unix

Show
Ignore:
Timestamp:
05/04/06 15:39:15 (3 years ago)
Author:
krobillard
Message:

Orca - Added os_call config option.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/unix/os.c

    r98 r136  
    190190 
    191191 
     192#ifdef OR_CONFIG_OS_CALL 
    192193static void argumentList( OString* str, int sindex, char** argv, int maxArg ) 
    193194{ 
     
    361362  command /output out /wait 
    362363*/ 
    363 void orCallNative( OValue* a1 ) 
     364OR_NATIVE_PUB( orCallNative ) 
    364365{ 
    365366    if( a1->type != OT_STRING ) 
     
    378379    } 
    379380} 
    380  
    381  
     381#endif 
     382 
     383 
     384#ifdef OR_CONFIG_OS_CALL 
    382385/* Cleans up after callSimple() */ 
    383386static void child_handler( int sig ) 
     
    392395    } 
    393396} 
     397#endif 
    394398 
    395399#if 0 
     
    411415void orInstallExceptionHandlers() 
    412416{ 
     417#ifdef OR_CONFIG_OS_CALL 
     418    /* NOTE: Cannot use this if using Qt's QProcess (it uses SIGCHLD) */ 
    413419    struct sigaction childSA; 
    414420 
     
    418424 
    419425    sigaction( SIGCHLD, &childSA, NULL ); 
     426#endif 
    420427 
    421428#if 0