removed temp file
This commit is contained in:
		
							parent
							
								
									c624447dfc
								
							
						
					
					
						commit
						b365c53262
					
				
					 2 changed files with 1 additions and 4 deletions
				
			
		|  | @ -48,7 +48,6 @@ extern char	tmpfname[MAXFILENAME];	/* temporary statements file */ | ||||||
| 
 | 
 | ||||||
| extern File	*emfile;		/* EM output file */ | extern File	*emfile;		/* EM output file */ | ||||||
| extern File	*datfile;		/* data file */ | extern File	*datfile;		/* data file */ | ||||||
| extern File	*tmp_file;		/* compiler temporary */ |  | ||||||
| extern File	*yyin;			/* Compiler input */ | extern File	*yyin;			/* Compiler input */ | ||||||
| 
 | 
 | ||||||
| extern int	endofinput; | extern int	endofinput; | ||||||
|  |  | ||||||
|  | @ -12,7 +12,6 @@ static char rcs_id[] = "$Header$"; | ||||||
| 
 | 
 | ||||||
| /* generate temporary files etc */ | /* generate temporary files etc */ | ||||||
| 
 | 
 | ||||||
| File	*tmp_file; |  | ||||||
| File	*datfile; | File	*datfile; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -43,8 +42,7 @@ initialize() | ||||||
| 	C_init((arith)BEMINTSIZE, (arith)BEMPTRSIZE); | 	C_init((arith)BEMINTSIZE, (arith)BEMPTRSIZE); | ||||||
| 	result1 = sys_open(inpfile, OP_READ, &yyin); | 	result1 = sys_open(inpfile, OP_READ, &yyin); | ||||||
| 	result2 = C_open(outfile); | 	result2 = C_open(outfile); | ||||||
| 	result3 = sys_open(tmpfname,OP_WRITE, &tmp_file); | 	if ( result1==0 || result2== 0 ) | ||||||
| 	if ( result1==0 || result2== 0 || result3== 0 ) |  | ||||||
| 		fatal("Improper file permissions"); | 		fatal("Improper file permissions"); | ||||||
| 	C_magic(); | 	C_magic(); | ||||||
| 	fillkex();	/* initialize symbol table */ | 	fillkex();	/* initialize symbol table */ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue