1 - The t_do flags is now set by add_inputs(files.c).
2 - Recognize the fact that it is possible to start a combiner without input files. 3 - Removed -d flag. Overflow for -v (>2) now ends up in debug. -v may be followed by a number indicating the increment.
This commit is contained in:
parent
527726167a
commit
aa4bae59e0
1 changed files with 14 additions and 7 deletions
|
@ -77,7 +77,6 @@ main(argc,argv) char **argv ; {
|
||||||
scanlist(l_first(tr_list),elem) {
|
scanlist(l_first(tr_list),elem) {
|
||||||
if ( t_cont(*elem)->t_linker ) {
|
if ( t_cont(*elem)->t_linker ) {
|
||||||
linker= t_cont(*elem) ;
|
linker= t_cont(*elem) ;
|
||||||
linker->t_do= YES ;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,7 +105,11 @@ main(argc,argv) char **argv ; {
|
||||||
orig.p_keeps=NO ;
|
orig.p_keeps=NO ;
|
||||||
orig.p_path=phase->t_origname ;
|
orig.p_path=phase->t_origname ;
|
||||||
if ( p_basename ) throws(p_basename) ;
|
if ( p_basename ) throws(p_basename) ;
|
||||||
p_basename= keeps(basename(orig.p_path)) ;
|
if ( orig.p_path ) {
|
||||||
|
p_basename= keeps(basename(orig.p_path)) ;
|
||||||
|
} else {
|
||||||
|
p_basename=0 ;
|
||||||
|
}
|
||||||
if ( !startrf(phase) && !k_flag ) return 1 ;
|
if ( !startrf(phase) && !k_flag ) return 1 ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -171,7 +174,15 @@ vieuwargs(argc,argv) char **argv ; {
|
||||||
break ;
|
break ;
|
||||||
case 'O': Optflag++ ;
|
case 'O': Optflag++ ;
|
||||||
break ;
|
break ;
|
||||||
case 'v': v_flag++ ;
|
case 'v': if ( argp[2] ) {
|
||||||
|
v_flag += atoi(&argp[2]) ;
|
||||||
|
eaten=1 ;
|
||||||
|
} else {
|
||||||
|
v_flag++ ;
|
||||||
|
}
|
||||||
|
#ifdef DEBUG
|
||||||
|
if ( v_flag>=3 ) debug=v_flag-2 ;
|
||||||
|
#endif
|
||||||
break ;
|
break ;
|
||||||
case 'g': g_flag++ ;
|
case 'g': g_flag++ ;
|
||||||
break ;
|
break ;
|
||||||
|
@ -201,10 +212,6 @@ vieuwargs(argc,argv) char **argv ; {
|
||||||
}
|
}
|
||||||
eaten=1 ;
|
eaten=1 ;
|
||||||
break ;
|
break ;
|
||||||
#ifdef DEBUG
|
|
||||||
case 'd': debug++ ;
|
|
||||||
break ;
|
|
||||||
#endif
|
|
||||||
case 0 : nill_flag++ ; eaten++ ;
|
case 0 : nill_flag++ ; eaten++ ;
|
||||||
break;
|
break;
|
||||||
case 'w': { register char *tokeep ;
|
case 'w': { register char *tokeep ;
|
||||||
|
|
Loading…
Reference in a new issue