2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 02:52:12 +00:00

Boost Jam code cleanup - removed global exec*.c module exec_done() cleanup routines as they were either not doing anything (execnt.c) or just releasing memory that would get released automatically by the OS on the imminent process exit (execunix.c).

[SVN r79052]
This commit is contained in:
Jurko Gospodnetić
2012-06-24 10:58:58 +00:00
parent ed1c4c1d1a
commit ee3337d46c
4 changed files with 0 additions and 21 deletions

View File

@@ -49,8 +49,6 @@ void exec_cmd
int exec_wait();
void exec_done( void );
#define EXEC_CMD_OK 0
#define EXEC_CMD_FAIL 1
#define EXEC_CMD_INTR 2

View File

@@ -1297,9 +1297,4 @@ static void reportWindowsError( char const * const apiName )
}
void exec_done( void )
{
}
#endif /* USE_EXECNT */

View File

@@ -600,16 +600,4 @@ static int get_free_cmdtab_slot()
exit( EXITBAD );
}
void exec_done( void )
{
int slot;
for ( slot = 0; slot < MAXJOBS; ++slot )
{
if ( !cmdtab[ slot ].action ) break;
BJAM_FREE( cmdtab[ slot ].action );
BJAM_FREE( cmdtab[ slot ].target );
}
}
# endif /* USE_EXECUNIX */

View File

@@ -122,7 +122,6 @@
#include "output.h"
#include "search.h"
#include "class.h"
#include "execcmd.h"
#include "constants.h"
#include "function.h"
#include "pwd.h"
@@ -591,7 +590,6 @@ int main( int argc, char * * argv, char * * arg_environ )
class_done();
modules_done();
regex_done();
exec_done();
pwd_done();
path_done();
function_done();