mirror of
				https://gitlab.com/klmp200/fish.git
				synced 2025-11-04 11:13:04 +00:00 
			
		
		
		
	Fix de l'erreur "no such file or directory" pour les commande à arguments.
This commit is contained in:
		@@ -54,7 +54,8 @@ WordArray * split(char *string, char *separator){
 | 
				
			|||||||
    int i = 0;
 | 
					    int i = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (tokens != NULL){
 | 
					    if (tokens != NULL){
 | 
				
			||||||
        tokens->words = (char **) malloc(sizeof(char*) * array_size);
 | 
					        tokens->words = (char **) malloc(sizeof(char*) * (array_size + 1));
 | 
				
			||||||
 | 
					        tokens->words[array_size] = NULL;
 | 
				
			||||||
        tokens->size = array_size;
 | 
					        tokens->size = array_size;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user