made easier to patch
This commit is contained in:
parent
859468b767
commit
f75ed26b04
|
@ -298,13 +298,13 @@ open_in(name) register char *name ; {
|
||||||
/* Not in core */
|
/* Not in core */
|
||||||
incore= NO ;
|
incore= NO ;
|
||||||
/* Try to read EM_DIR/lib/MACH/descr */
|
/* Try to read EM_DIR/lib/MACH/descr */
|
||||||
gr_cat(&rline,EM_DIR) ;
|
gr_cat(&rline,em_dir) ;
|
||||||
gr_cat(&rline,"/lib/") ; gr_cat(&rline,name) ;
|
gr_cat(&rline,"/lib/") ; gr_cat(&rline,name) ;
|
||||||
gr_cat(&rline,"/descr") ;
|
gr_cat(&rline,"/descr") ;
|
||||||
infile= fopen(gr_start(rline),"r") ;
|
infile= fopen(gr_start(rline),"r") ;
|
||||||
if ( !infile ) {
|
if ( !infile ) {
|
||||||
gr_throw(&rline) ;
|
gr_throw(&rline) ;
|
||||||
gr_cat(&rline,EM_DIR) ; gr_cat(&rline,"/") ;
|
gr_cat(&rline,em_dir) ; gr_cat(&rline,"/") ;
|
||||||
gr_cat(&rline,ACK_PATH); gr_cat(&rline,"/") ;
|
gr_cat(&rline,ACK_PATH); gr_cat(&rline,"/") ;
|
||||||
gr_cat(&rline,name) ;
|
gr_cat(&rline,name) ;
|
||||||
infile= fopen(gr_start(rline),"r") ;
|
infile= fopen(gr_start(rline),"r") ;
|
||||||
|
|
Loading…
Reference in a new issue