Lines 190-196
Link Here
|
190 |
{ |
190 |
{ |
191 |
char * args[] = { "targets", "*", |
191 |
char * args[] = { "targets", "*", |
192 |
":", "log", "?", |
192 |
":", "log", "?", |
193 |
":", "ignore-minus-n", "?", 0 }; |
193 |
":", "ignore-minus-n", "?", |
|
|
194 |
":", "ignore-minus-q", "?", 0 }; |
194 |
bind_builtin( "UPDATE_NOW", |
195 |
bind_builtin( "UPDATE_NOW", |
195 |
builtin_update_now, 0, args ); |
196 |
builtin_update_now, 0, args ); |
196 |
} |
197 |
} |
Lines 1307-1312
Link Here
|
1307 |
LIST * targets = lol_get( frame->args, 0 ); |
1308 |
LIST * targets = lol_get( frame->args, 0 ); |
1308 |
LIST * log = lol_get( frame->args, 1 ); |
1309 |
LIST * log = lol_get( frame->args, 1 ); |
1309 |
LIST * force = lol_get (frame->args, 2); |
1310 |
LIST * force = lol_get (frame->args, 2); |
|
|
1311 |
LIST * continue_ = lol_get(frame->args, 3); |
1310 |
int status = 0; |
1312 |
int status = 0; |
1311 |
int original_stdout; |
1313 |
int original_stdout; |
1312 |
int original_stderr; |
1314 |
int original_stderr; |
Lines 1315-1320
Link Here
|
1315 |
const char** targets2; |
1317 |
const char** targets2; |
1316 |
int i; |
1318 |
int i; |
1317 |
int original_noexec; |
1319 |
int original_noexec; |
|
|
1320 |
int original_quitquick; |
1318 |
|
1321 |
|
1319 |
if (log) |
1322 |
if (log) |
Lines 1333-1338
Link Here
|
1333 |
globs.noexec = 0; |
1336 |
globs.noexec = 0; |
1334 |
} |
1337 |
} |
|
|
1338 |
if (continue_) |
1339 |
{ |
1340 |
original_quitquick = globs.quitquick; |
1341 |
globs.quitquick = 0; |
1342 |
} |
1343 |
|
1335 |
targets_count = list_length( targets ); |
1344 |
targets_count = list_length( targets ); |
1336 |
targets2 = (const char * *)BJAM_MALLOC( targets_count * sizeof( char * ) ); |
1345 |
targets2 = (const char * *)BJAM_MALLOC( targets_count * sizeof( char * ) ); |
1337 |
for (i = 0 ; targets; targets = list_next( targets ) ) |
1346 |
for (i = 0 ; targets; targets = list_next( targets ) ) |
Lines 1340-1345
Link Here
|
1340 |
status |= make( targets_count, targets2, anyhow); |
1349 |
status |= make( targets_count, targets2, anyhow); |
1341 |
free( targets ); |
1350 |
free( targets ); |
|
|
1351 |
if (continue_) |
1352 |
{ |
1353 |
globs.quitquick = original_quitquick; |
1354 |
} |
1355 |
|
1342 |
if (force) |
1356 |
if (force) |
1343 |
{ |
1357 |
{ |
1344 |
globs.noexec = original_noexec; |
1358 |
globs.noexec = original_noexec; |