mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
Expansion: Fixed inclusions and Norm checked
Now on to remake tests properly.
This commit is contained in:
parent
bed41f4a6f
commit
0f8b18b32f
8 changed files with 33 additions and 64 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jguelen <jguelen@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/02/23 15:01:40 by jguelen #+# #+# */
|
||||
/* Updated: 2025/03/14 14:28:20 by jguelen ### ########.fr */
|
||||
/* Updated: 2025/03/19 09:20:02 by jguelen ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -16,9 +16,12 @@
|
|||
# include "../parser/wordlist/wordlist.h"
|
||||
# include "../parser/wordlist/wordlist_quicksort.h"
|
||||
# include "../minishell.h"
|
||||
# include "replace_substr.h"
|
||||
# include <dirent.h>
|
||||
# include <unistd.h>
|
||||
# include <errno.h>
|
||||
# include <stdlib.h>
|
||||
# include "../../libft/libft.h"
|
||||
|
||||
# define PATH_SIZE_INIT 64
|
||||
|
||||
|
|
@ -33,4 +36,11 @@ t_wordlist *expand_star(t_worddesc *file_pattern);
|
|||
char *construct_repeting_char_string(char c, size_t len);
|
||||
char *ft_get_longest_identifier(char *str);
|
||||
|
||||
char *alloc_path(char *path_dir, char *name);
|
||||
char *get_cmdpath(const char *name, t_minishell *app);
|
||||
|
||||
void destroy_pattern_check(char **pattern_check, size_t len);
|
||||
void build_pattern_checks(char *str, t_worddesc *pattern,
|
||||
char **checker);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue