A bunch of work to move towards a sane memory model in job_t

This commit is contained in:
ridiculousfish
2012-01-29 22:06:58 -08:00
parent 966cd6a8ca
commit 3b8a4e56b0
16 changed files with 195 additions and 130 deletions

View File

@@ -600,11 +600,11 @@ void parse_util_token_extent( const wchar_t *buff,
}
void parse_util_set_argv( wchar_t **argv, const wcstring_list_t &named_arguments )
void parse_util_set_argv( const wchar_t * const *argv, const wcstring_list_t &named_arguments )
{
if( *argv )
{
wchar_t **arg;
const wchar_t * const *arg;
string_buffer_t sb;
sb_init( &sb );
@@ -627,7 +627,7 @@ void parse_util_set_argv( wchar_t **argv, const wcstring_list_t &named_arguments
if( named_arguments.size() )
{
wchar_t **arg;
const wchar_t * const *arg;
size_t i;
for( i=0, arg=argv; i < named_arguments.size(); i++ )