Imported from ../bash-2.04.tar.gz.
This commit is contained in:
		
					parent
					
						
							
								b72432fdcc
							
						
					
				
			
			
				commit
				
					
						bb70624e96
					
				
			
		
					 387 changed files with 28522 additions and 9334 deletions
				
			
		|  | @ -1,3 +1,7 @@ | |||
| /*
 | ||||
|  * print -- loadable ksh-93 style print builtin | ||||
|  */ | ||||
| 
 | ||||
| #include "bashtypes.h" | ||||
| 
 | ||||
| #include <errno.h> | ||||
|  | @ -19,8 +23,6 @@ static int printargs (); | |||
| 
 | ||||
| static FILE *ofp; | ||||
| 
 | ||||
| extern char *ansicstr (); | ||||
| 
 | ||||
| extern char *this_command_name; | ||||
| 
 | ||||
| static char *print_doc[] = { | ||||
|  | @ -150,7 +152,7 @@ printargs (list, ofp) | |||
| 
 | ||||
|   for (sawc = 0, l = list; l; l = l->next) | ||||
|     { | ||||
|       ostr = ansicstr (l->word->word, strlen (l->word->word), &sawc, (int *)0); | ||||
|       ostr = ansicstr (l->word->word, strlen (l->word->word), 0, &sawc, (int *)0); | ||||
|       fprintf (ofp, "%s", ostr); | ||||
|       free (ostr); | ||||
|       if (sawc) | ||||
|  | @ -160,4 +162,3 @@ printargs (list, ofp) | |||
|     } | ||||
|   return (1); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jari Aalto
				Jari Aalto