fix: leaks
This commit is contained in:
parent
2930755dd3
commit
8093b250ce
Binary file not shown.
Binary file not shown.
@ -17,6 +17,8 @@ int ft_gen_exit_code_var(t_data *data)
|
|||||||
{
|
{
|
||||||
char *str;
|
char *str;
|
||||||
|
|
||||||
|
if (data->exit_code_str != NULL)
|
||||||
|
free(data->exit_code_str);
|
||||||
str = ft_itoa(data->exit_code);
|
str = ft_itoa(data->exit_code);
|
||||||
if (str == NULL)
|
if (str == NULL)
|
||||||
{
|
{
|
||||||
|
3
main.c
3
main.c
@ -141,6 +141,7 @@ int main(int ac, char **av, char **env)
|
|||||||
signal(SIGINT, ft_ctrlc);
|
signal(SIGINT, ft_ctrlc);
|
||||||
signal(SIGQUIT, ft_quit);
|
signal(SIGQUIT, ft_quit);
|
||||||
data.exit_code = 0;
|
data.exit_code = 0;
|
||||||
|
data.exit_code_str = NULL;
|
||||||
ft_gen_exit_code_var(&data);
|
ft_gen_exit_code_var(&data);
|
||||||
data.env = init_env(env);
|
data.env = init_env(env);
|
||||||
if (data.env == NULL)
|
if (data.env == NULL)
|
||||||
@ -155,8 +156,8 @@ int main(int ac, char **av, char **env)
|
|||||||
if (line == NULL)
|
if (line == NULL)
|
||||||
break ;
|
break ;
|
||||||
}
|
}
|
||||||
ft_lstclear(data.env, env_del);
|
|
||||||
free(data.exit_code_str);
|
free(data.exit_code_str);
|
||||||
|
ft_lstclear(data.env, env_del);
|
||||||
free(data.env);
|
free(data.env);
|
||||||
return (data.exit_code);
|
return (data.exit_code);
|
||||||
}
|
}
|
||||||
|
290
tags
290
tags
@ -1,290 +0,0 @@
|
|||||||
!_TAG_EXTRA_DESCRIPTION anonymous /Include tags for non-named objects like lambda/
|
|
||||||
!_TAG_EXTRA_DESCRIPTION fileScope /Include tags of file scope/
|
|
||||||
!_TAG_EXTRA_DESCRIPTION pseudo /Include pseudo tags/
|
|
||||||
!_TAG_EXTRA_DESCRIPTION subparser /Include tags generated by subparsers/
|
|
||||||
!_TAG_FIELD_DESCRIPTION epoch /the last modified time of the input file (only for F\/file kind tag)/
|
|
||||||
!_TAG_FIELD_DESCRIPTION file /File-restricted scoping/
|
|
||||||
!_TAG_FIELD_DESCRIPTION input /input file/
|
|
||||||
!_TAG_FIELD_DESCRIPTION name /tag name/
|
|
||||||
!_TAG_FIELD_DESCRIPTION pattern /pattern/
|
|
||||||
!_TAG_FIELD_DESCRIPTION typeref /Type and name of a variable or typedef/
|
|
||||||
!_TAG_FIELD_DESCRIPTION!C++ name /aliased names/
|
|
||||||
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
|
|
||||||
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C d,macro /macro definitions/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C e,enumerator /enumerators (values inside an enumeration)/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C f,function /function definitions/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C g,enum /enumeration names/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C h,header /included header files/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C m,member /struct, and union members/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C s,struct /structure names/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C t,typedef /typedefs/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C u,union /union names/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C v,variable /variable definitions/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ c,class /classes/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ d,macro /macro definitions/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ e,enumerator /enumerators (values inside an enumeration)/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ f,function /function definitions/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ g,enum /enumeration names/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ h,header /included header files/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ m,member /class, struct, and union members/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ n,namespace /namespaces/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ s,struct /structure names/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ t,typedef /typedefs/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ u,union /union names/
|
|
||||||
!_TAG_KIND_DESCRIPTION!C++ v,variable /variable definitions/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Markdown u,l5subsection /level 5 sections/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Sh a,alias /aliases/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Sh f,function /functions/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Sh h,heredoc /label for here document/
|
|
||||||
!_TAG_KIND_DESCRIPTION!Sh s,script /script files/
|
|
||||||
!_TAG_OUTPUT_EXCMD mixed /number, pattern, mixed, or combineV2/
|
|
||||||
!_TAG_OUTPUT_FILESEP slash /slash or backslash/
|
|
||||||
!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/
|
|
||||||
!_TAG_OUTPUT_VERSION 0.0 /current.age/
|
|
||||||
!_TAG_PARSER_VERSION!C 0.0 /current.age/
|
|
||||||
!_TAG_PARSER_VERSION!C++ 0.0 /current.age/
|
|
||||||
!_TAG_PARSER_VERSION!Markdown 0.0 /current.age/
|
|
||||||
!_TAG_PARSER_VERSION!Sh 0.0 /current.age/
|
|
||||||
!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/
|
|
||||||
!_TAG_PROC_CWD /nfs/homes/cchauvet/42/minishell/ //
|
|
||||||
!_TAG_PROGRAM_AUTHOR Universal Ctags Team //
|
|
||||||
!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/
|
|
||||||
!_TAG_PROGRAM_URL https://ctags.io/ /official site/
|
|
||||||
!_TAG_PROGRAM_VERSION 6.0.0 //
|
|
||||||
!_TAG_ROLE_DESCRIPTION!C!header local /local header/
|
|
||||||
!_TAG_ROLE_DESCRIPTION!C!header system /system header/
|
|
||||||
!_TAG_ROLE_DESCRIPTION!C!macro undef /undefined/
|
|
||||||
!_TAG_ROLE_DESCRIPTION!C++!header local /local header/
|
|
||||||
!_TAG_ROLE_DESCRIPTION!C++!header system /system header/
|
|
||||||
!_TAG_ROLE_DESCRIPTION!C++!macro undef /undefined/
|
|
||||||
!_TAG_ROLE_DESCRIPTION!Sh!heredoc endmarker /end marker/
|
|
||||||
!_TAG_ROLE_DESCRIPTION!Sh!script loaded /loaded/
|
|
||||||
BUFFER_SIZE libftx/gnl/get_next_line.h /^# define BUFFER_SIZE /;" d
|
|
||||||
Bonus minishell_tester/README.md /^# Bonus $/;" c
|
|
||||||
DEBUG minishell.h /^# define DEBUG /;" d
|
|
||||||
EXTRA_H libftx/extra/extra.h /^# define EXTRA_H$/;" d
|
|
||||||
Extra tests minishell_tester/README.md /^# Extra tests$/;" c
|
|
||||||
FT_PRINTF_H libftx/printf/ft_printf.h /^# define FT_PRINTF_H$/;" d
|
|
||||||
GET_NEXT_LINE_H libftx/gnl/get_next_line.h /^# define GET_NEXT_LINE_H$/;" d
|
|
||||||
How to run minishell_tester/README.md /^# How to run $/;" c
|
|
||||||
Installation minishell_tester/README.md /^# Installation $/;" c
|
|
||||||
LIBFTX_H libftx/libftx.h /^# define LIBFTX_H$/;" d
|
|
||||||
LIBFT_H libftx/libft/libft.h /^# define LIBFT_H$/;" d
|
|
||||||
MINISHELL_H minishell.h /^# define MINISHELL_H$/;" d
|
|
||||||
Manual tests minishell_tester/README.md /^# Manual tests $/;" c
|
|
||||||
Separate tests minishell_tester/README.md /^# Separate tests$/;" c
|
|
||||||
UTILS_H utils/utils.h /^# define UTILS_H$/;" d
|
|
||||||
add_export builtins/export.c /^void add_export(t_list **env, char *args, int fd, int *err)$/;" f typeref:typename:void
|
|
||||||
add_sort env.c /^void add_sort(t_list **head, t_env *var)$/;" f typeref:typename:void
|
|
||||||
args minishell.h /^ char **args;$/;" m struct:s_cmd typeref:typename:char **
|
|
||||||
check_argument builtins/echo.c /^int check_argument(char *str, int *check)$/;" f typeref:typename:int
|
|
||||||
content libftx/libft/libft.h /^ void *content;$/;" m struct:s_list typeref:typename:void *
|
|
||||||
content libftx/libftx.h /^ void *content;$/;" m struct:s_list typeref:typename:void *
|
|
||||||
create_value_by_key env.c /^int create_value_by_key(char *key, char *value, t_list **head)$/;" f typeref:typename:int
|
|
||||||
create_value_by_key_dup env3.c /^int create_value_by_key_dup(char *key, char *value, t_list **env)$/;" f typeref:typename:int
|
|
||||||
delete_by_key env3.c /^int delete_by_key(char *key, t_list **head)$/;" f typeref:typename:int
|
|
||||||
echo builtins/echo.c /^int echo(int fd, char **strs)$/;" f typeref:typename:int
|
|
||||||
env minishell.h /^ t_list **env;$/;" m struct:s_data typeref:typename:t_list **
|
|
||||||
env_del env2.c /^void env_del(void *ptr)$/;" f typeref:typename:void
|
|
||||||
env_to_strs env2.c /^char **env_to_strs(t_list **head)$/;" f typeref:typename:char **
|
|
||||||
error builtins/exit.c /^static int error(int err, char *reason, char *problem, int fd)$/;" f typeref:typename:int file:
|
|
||||||
error builtins/export.c /^static int error(char *str, int fd)$/;" f typeref:typename:int file:
|
|
||||||
error builtins/unset.c /^int error(char *str, int fd)$/;" f typeref:typename:int
|
|
||||||
executable minishell.h /^ char *executable;$/;" m struct:s_cmd typeref:typename:char *
|
|
||||||
exit_code minishell.h /^ int exit_code;$/;" m struct:s_data typeref:typename:int
|
|
||||||
export builtins/export.c /^int export(t_list **env, char **args, int fd)$/;" f typeref:typename:int
|
|
||||||
fd_in minishell.h /^ int fd_in;$/;" m struct:s_cmd typeref:typename:int
|
|
||||||
fd_out minishell.h /^ int fd_out;$/;" m struct:s_cmd typeref:typename:int
|
|
||||||
ft_atoi libftx/libft/ft_atoi.c /^int ft_atoi(const char *nptr)$/;" f typeref:typename:int
|
|
||||||
ft_atoi_check utils/ft_atoi_check.c /^int ft_atoi_check(const char *nptr)$/;" f typeref:typename:int
|
|
||||||
ft_base_size libftx/extra/ft_ultoa_base.c /^static size_t ft_base_size(char *base)$/;" f typeref:typename:size_t file:
|
|
||||||
ft_base_size libftx/printf/ft_dprintul_base.c /^static size_t ft_base_size(char *base)$/;" f typeref:typename:size_t file:
|
|
||||||
ft_bzero libftx/libft/ft_bzero.c /^void ft_bzero(void *s, size_t n)$/;" f typeref:typename:void
|
|
||||||
ft_calloc libftx/libft/ft_calloc.c /^void *ft_calloc(size_t nmemb, size_t size)$/;" f typeref:typename:void *
|
|
||||||
ft_cancel libftx/libft/ft_split.c /^void *ft_cancel(void **tab, size_t len)$/;" f typeref:typename:void *
|
|
||||||
ft_change_exit_code utils/ft_change_exit_code.c /^int ft_change_exit_code(t_data *data, int new_value)$/;" f typeref:typename:int
|
|
||||||
ft_cmd_filler cmd.c /^int ft_cmd_filler(t_list *element, char **args, t_list **env)$/;" f typeref:typename:int
|
|
||||||
ft_cmddel cmd.c /^void ft_cmddel(void *ptr)$/;" f typeref:typename:void
|
|
||||||
ft_cmds_executor execution.c /^int ft_cmds_executor(t_data *data, t_list **cmds)$/;" f typeref:typename:int
|
|
||||||
ft_cmds_fill cmds.c /^static int ft_cmds_fill(t_list **cmds, t_list **env, const char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_cmds_init cmds.c /^static int ft_cmds_init(t_list **cmds, size_t len)$/;" f typeref:typename:int file:
|
|
||||||
ft_cmds_prep cmds.c /^static int ft_cmds_prep(t_list **cmds, const char *line, int infile, int outfile)$/;" f typeref:typename:int file:
|
|
||||||
ft_contain_only libftx/extra/ft_contain_only.c /^int ft_contain_only(char *str, char c)$/;" f typeref:typename:int
|
|
||||||
ft_contain_only_str libftx/extra/ft_contain_only.c /^int ft_contain_only_str(char *str, char *to_find)$/;" f typeref:typename:int
|
|
||||||
ft_ctrlc main.c /^void ft_ctrlc(int num)$/;" f typeref:typename:void
|
|
||||||
ft_dprint_upperx libftx/printf/ft_dprintX.c /^int ft_dprint_upperx(int fd, unsigned int n)$/;" f typeref:typename:int
|
|
||||||
ft_dprintarg libftx/printf/ft_dprintarg.c /^int ft_dprintarg(int fd, int arg, va_list args)$/;" f typeref:typename:int
|
|
||||||
ft_dprintf libftx/printf/ft_printf.c /^int ft_dprintf(int fd, const char *format, ...)$/;" f typeref:typename:int
|
|
||||||
ft_dprintflag libftx/printf/ft_dprintflag.c /^int ft_dprintflag(int fd, const char *flag, va_list va)$/;" f typeref:typename:int
|
|
||||||
ft_dprintl_base libftx/printf/ft_dprintl_base.c /^int ft_dprintl_base(int fd, long long int n, char *base)$/;" f typeref:typename:int
|
|
||||||
ft_dprintptr libftx/printf/ft_dprintptr.c /^int ft_dprintptr(int fd, void *ptr)$/;" f typeref:typename:int
|
|
||||||
ft_dprintseg libftx/printf/ft_vdprintf.c /^static int ft_dprintseg(int fd, const char *str)$/;" f typeref:typename:int file:
|
|
||||||
ft_dprintstrtab libftx/printf/ft_dprintstrtab.c /^int ft_dprintstrtab(int fd, char **tab)$/;" f typeref:typename:int
|
|
||||||
ft_dprintul libftx/printf/ft_dprintul.c /^int ft_dprintul(int fd, unsigned long long n)$/;" f typeref:typename:int
|
|
||||||
ft_dprintul_base libftx/printf/ft_dprintul_base.c /^int ft_dprintul_base(int fd, unsigned long long n, char *base)$/;" f typeref:typename:int
|
|
||||||
ft_dprintx libftx/printf/ft_dprintx.c /^int ft_dprintx(int fd, unsigned int n)$/;" f typeref:typename:int
|
|
||||||
ft_empty_verif syntatics.c /^int ft_empty_verif(const char *str)$/;" f typeref:typename:int
|
|
||||||
ft_env_filler env_fill.c /^char *ft_env_filler(t_list **env, const char *str)$/;" f typeref:typename:char *
|
|
||||||
ft_eprintf libftx/printf/ft_eprintf.c /^int ft_eprintf(const char *format, ...)$/;" f typeref:typename:int
|
|
||||||
ft_executor execution.c /^static int ft_executor(t_cmd *cmd, t_list **env)$/;" f typeref:typename:int file:
|
|
||||||
ft_exit builtins/exit.c /^int ft_exit(char **args, int fd)$/;" f typeref:typename:int
|
|
||||||
ft_file_is_appendable file.c /^int ft_file_is_appendable(const char *path)$/;" f typeref:typename:int
|
|
||||||
ft_file_is_executable file.c /^int ft_file_is_executable(const char *path)$/;" f typeref:typename:int
|
|
||||||
ft_file_is_readable file.c /^int ft_file_is_readable(const char *path)$/;" f typeref:typename:int
|
|
||||||
ft_file_is_writable file.c /^int ft_file_is_writable(const char *path)$/;" f typeref:typename:int
|
|
||||||
ft_freer_tab libftx/extra/ft_freer.c /^void ft_freer_tab(char **tab)$/;" f typeref:typename:void
|
|
||||||
ft_freer_tab_ultimate libftx/extra/ft_freer.c /^void ft_freer_tab_ultimate(size_t len, ...)$/;" f typeref:typename:void
|
|
||||||
ft_freer_ultimate libftx/extra/ft_freer.c /^void ft_freer_ultimate(size_t len, ...)$/;" f typeref:typename:void
|
|
||||||
ft_gen_exit_code_var env_fill.c /^int ft_gen_exit_code_var(t_data *data)$/;" f typeref:typename:int
|
|
||||||
ft_get_executable_path execution.c /^static char *ft_get_executable_path(char *executable_name, t_list **env)$/;" f typeref:typename:char * file:
|
|
||||||
ft_get_heredoc heredoc.c /^int *ft_get_heredoc()$/;" f typeref:typename:int *
|
|
||||||
ft_get_infile infile.c /^static int ft_get_infile(const char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_get_key env_fill.c /^static char *ft_get_key(char *str)$/;" f typeref:typename:char * file:
|
|
||||||
ft_get_outfile outfile.c /^static int ft_get_outfile(const char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_get_user_input main.c /^static char *ft_get_user_input()$/;" f typeref:typename:char * file:
|
|
||||||
ft_get_value env_fill.c /^static char *ft_get_value(t_list **env, char *key)$/;" f typeref:typename:char * file:
|
|
||||||
ft_getextra libftx/gnl/get_next_line.c /^char *ft_getextra(char *str)$/;" f typeref:typename:char *
|
|
||||||
ft_getline libftx/gnl/get_next_line.c /^char *ft_getline(int fd)$/;" f typeref:typename:char *
|
|
||||||
ft_getreturn libftx/gnl/get_next_line.c /^char *ft_getreturn(char *str)$/;" f typeref:typename:char *
|
|
||||||
ft_getstash libftx/gnl/get_next_line.c /^char *ft_getstash(int fd)$/;" f typeref:typename:char *
|
|
||||||
ft_heredoc heredoc.c /^int ft_heredoc(char *stop)$/;" f typeref:typename:int
|
|
||||||
ft_heredoc_creator heredoc.c /^int ft_heredoc_creator(char *stop, int fd)$/;" f typeref:typename:int
|
|
||||||
ft_infile infile.c /^int ft_infile(t_data *data, char *line)$/;" f typeref:typename:int
|
|
||||||
ft_infile_is_valid infile.c /^static int ft_infile_is_valid(const char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_is_in libftx/extra/ft_is_in.c /^int ft_is_in(char *str, char c)$/;" f typeref:typename:int
|
|
||||||
ft_is_in libftx/libft/ft_strtrim.c /^static int ft_is_in(const char c, const char *charset)$/;" f typeref:typename:int file:
|
|
||||||
ft_is_in_quote utils/ft_is_in_quote.c /^int ft_is_in_quote(const char *str, size_t n)$/;" f typeref:typename:int
|
|
||||||
ft_isalnum libftx/libft/ft_isalnum.c /^int ft_isalnum(int c)$/;" f typeref:typename:int
|
|
||||||
ft_isalpha libftx/libft/ft_isalpha.c /^int ft_isalpha(int c)$/;" f typeref:typename:int
|
|
||||||
ft_isarg libftx/printf/ft_isarg.c /^int ft_isarg(int c)$/;" f typeref:typename:int
|
|
||||||
ft_isascii libftx/libft/ft_isascii.c /^int ft_isascii(int c)$/;" f typeref:typename:int
|
|
||||||
ft_isdigit libftx/libft/ft_isdigit.c /^int ft_isdigit(int c)$/;" f typeref:typename:int
|
|
||||||
ft_isdigit libftx/printf/ft_isdigit.c /^int ft_isdigit(int c)$/;" f typeref:typename:int
|
|
||||||
ft_isdup libftx/extra/ft_ultoa_base.c /^static int ft_isdup(char *str)$/;" f typeref:typename:int file:
|
|
||||||
ft_isdup libftx/printf/ft_dprintul_base.c /^static int ft_isdup(char *str)$/;" f typeref:typename:int file:
|
|
||||||
ft_isprint libftx/libft/ft_isprint.c /^int ft_isprint(int c)$/;" f typeref:typename:int
|
|
||||||
ft_isspace utils/ft_atoi_check.c /^static int ft_isspace(char c)$/;" f typeref:typename:int file:
|
|
||||||
ft_itoa libftx/libft/ft_itoa.c /^char *ft_itoa(int n)$/;" f typeref:typename:char *
|
|
||||||
ft_lstadd_back libftx/libft/ft_lstadd_back.c /^void ft_lstadd_back(t_list **lst, t_list *new)$/;" f typeref:typename:void
|
|
||||||
ft_lstadd_front libftx/libft/ft_lstadd_front.c /^void ft_lstadd_front(t_list **lst, t_list *new)$/;" f typeref:typename:void
|
|
||||||
ft_lstclear libftx/libft/ft_lstclear.c /^void ft_lstclear(t_list **lst, void (*del)(void *))$/;" f typeref:typename:void
|
|
||||||
ft_lstdelone libftx/libft/ft_lstdelone.c /^void ft_lstdelone(t_list *lst, void (*del)(void *))$/;" f typeref:typename:void
|
|
||||||
ft_lstiter libftx/libft/ft_lstiter.c /^void ft_lstiter(t_list *lst, void (*f)(void *))$/;" f typeref:typename:void
|
|
||||||
ft_lstlast libftx/libft/ft_lstlast.c /^t_list *ft_lstlast(t_list *lst)$/;" f typeref:typename:t_list *
|
|
||||||
ft_lstmap libftx/libft/ft_lstmap.c /^t_list *ft_lstmap(t_list *lst, void *(*f)(void *), void (*del)(void *))$/;" f typeref:typename:t_list *
|
|
||||||
ft_lstnew libftx/libft/ft_lstnew.c /^t_list *ft_lstnew(void *content)$/;" f typeref:typename:t_list *
|
|
||||||
ft_lstsize libftx/libft/ft_lstsize.c /^int ft_lstsize(t_list *lst)$/;" f typeref:typename:int
|
|
||||||
ft_memchr libftx/libft/ft_memchr.c /^void *ft_memchr(const void *s, int c, size_t n)$/;" f typeref:typename:void *
|
|
||||||
ft_memcmp libftx/libft/ft_memcmp.c /^int ft_memcmp(const void *s1, const void *s2, size_t n)$/;" f typeref:typename:int
|
|
||||||
ft_memcpy libftx/libft/ft_memcpy.c /^void *ft_memcpy(void *dest, const void *src, size_t n)$/;" f typeref:typename:void *
|
|
||||||
ft_memmove libftx/libft/ft_memmove.c /^void *ft_memmove(void *dest, const void *src, size_t n)$/;" f typeref:typename:void *
|
|
||||||
ft_memset libftx/libft/ft_memset.c /^void *ft_memset(void *s, int c, size_t n)$/;" f typeref:typename:void *
|
|
||||||
ft_minishell main.c /^static int ft_minishell(t_data *data, char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_nb_digit libftx/libft/ft_itoa.c /^static int ft_nb_digit(int n)$/;" f typeref:typename:int file:
|
|
||||||
ft_normalizer spacer.c /^char *ft_normalizer(char *str)$/;" f typeref:typename:char *
|
|
||||||
ft_outfile outfile.c /^int ft_outfile(t_data *data, char *line)$/;" f typeref:typename:int
|
|
||||||
ft_outfile_is_valid outfile.c /^static int ft_outfile_is_valid(const char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_own_cmd execution.c /^static int ft_own_cmd(t_data *data, t_cmd *cmd)$/;" f typeref:typename:int file:
|
|
||||||
ft_parse_cmds cmds.c /^t_list **ft_parse_cmds(t_data *data, char *line, int infile, int outfile)$/;" f typeref:typename:t_list **
|
|
||||||
ft_pipe_is_alone syntatics.c /^static int ft_pipe_is_alone(const char *str)$/;" f typeref:typename:int file:
|
|
||||||
ft_printf libftx/printf/ft_printf.c /^int ft_printf(const char *format, ...)$/;" f typeref:typename:int
|
|
||||||
ft_printn utils/ft_printn.c /^void ft_printn(const char *str, size_t n)$/;" f typeref:typename:void
|
|
||||||
ft_putchar_fd libftx/libft/ft_putchar_fd.c /^void ft_putchar_fd(char c, int fd)$/;" f typeref:typename:void
|
|
||||||
ft_putchar_fd_p libftx/printf/ft_putchar_fd.c /^int ft_putchar_fd_p(int fd, char c)$/;" f typeref:typename:int
|
|
||||||
ft_putendl_fd libftx/libft/ft_putendl_fd.c /^void ft_putendl_fd(char *s, int fd)$/;" f typeref:typename:void
|
|
||||||
ft_putnbr_fd libftx/libft/ft_putnbr_fd.c /^void ft_putnbr_fd(int n, int fd)$/;" f typeref:typename:void
|
|
||||||
ft_putstr_fd libftx/libft/ft_putstr_fd.c /^void ft_putstr_fd(char *s, int fd)$/;" f typeref:typename:void
|
|
||||||
ft_putstr_fd_p libftx/printf/ft_putstr_fd.c /^int ft_putstr_fd_p(int fd, char *str)$/;" f typeref:typename:int
|
|
||||||
ft_quit main.c /^void ft_quit(int num)$/;" f typeref:typename:void
|
|
||||||
ft_quote_remover utils/ft_quote_remover.c /^char *ft_quote_remover(char *str)$/;" f typeref:typename:char *
|
|
||||||
ft_quote_verif syntatics.c /^static int ft_quote_verif(const char *str)$/;" f typeref:typename:int file:
|
|
||||||
ft_random_generator libftx/extra/ft_random_generator.c /^size_t ft_random_generator(size_t start, size_t stop)$/;" f typeref:typename:size_t
|
|
||||||
ft_remove_infile infile.c /^static int ft_remove_infile(char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_remove_outfile outfile.c /^static int ft_remove_outfile(char *line)$/;" f typeref:typename:int file:
|
|
||||||
ft_seglen libftx/libft/ft_split.c /^static size_t ft_seglen(const char *s, char c)$/;" f typeref:typename:size_t file:
|
|
||||||
ft_seglen_quoted utils/ft_split_quoted.c /^size_t ft_seglen_quoted(const char *str, char c)$/;" f typeref:typename:size_t
|
|
||||||
ft_segsplitter libftx/libft/ft_split.c /^static char **ft_segsplitter(char **tab, size_t len, const char *s, char c)$/;" f typeref:typename:char ** file:
|
|
||||||
ft_segsplitter utils/ft_split_quoted.c /^static char **ft_segsplitter(char **tab, size_t len, const char *s, char c)$/;" f typeref:typename:char ** file:
|
|
||||||
ft_skipflag libftx/printf/ft_skipflag.c /^int ft_skipflag(const char *str)$/;" f typeref:typename:int
|
|
||||||
ft_space_simplifier spacer.c /^static void ft_space_simplifier(char *str)$/;" f typeref:typename:void file:
|
|
||||||
ft_spacer_after spacer.c /^static char *ft_spacer_after(const char *str)$/;" f typeref:typename:char * file:
|
|
||||||
ft_spacer_before spacer.c /^static char *ft_spacer_before(const char *str)$/;" f typeref:typename:char * file:
|
|
||||||
ft_special_char_dub syntatics.c /^static int ft_special_char_dub(const char *str)$/;" f typeref:typename:int file:
|
|
||||||
ft_split libftx/libft/ft_split.c /^char **ft_split(const char *s, char c)$/;" f typeref:typename:char **
|
|
||||||
ft_split_quoted utils/ft_split_quoted.c /^char **ft_split_quoted(const char *s, char c)$/;" f typeref:typename:char **
|
|
||||||
ft_str_is_empty utils/ft_str_is_empty.c /^int ft_str_is_empty(const char *str)$/;" f typeref:typename:int
|
|
||||||
ft_str_size libftx/extra/ft_ultoa_base.c /^static size_t ft_str_size(unsigned long long n, size_t base_size)$/;" f typeref:typename:size_t file:
|
|
||||||
ft_str_size libftx/printf/ft_dprintul_base.c /^static size_t ft_str_size(unsigned long long n, size_t base_size)$/;" f typeref:typename:size_t file:
|
|
||||||
ft_strchr libftx/libft/ft_strchr.c /^char *ft_strchr(const char *s, int c)$/;" f typeref:typename:char *
|
|
||||||
ft_strchri libftx/extra/ft_strchri.c /^ssize_t ft_strchri(char *str, char c)$/;" f typeref:typename:ssize_t
|
|
||||||
ft_strcmp libftx/extra/ft_strcmp.c /^int ft_strcmp(char *s1, char *s2)$/;" f typeref:typename:int
|
|
||||||
ft_strdup libftx/libft/ft_strdup.c /^char *ft_strdup(const char *s)$/;" f typeref:typename:char *
|
|
||||||
ft_strfjoin libftx/extra/ft_strfjoin.c /^char *ft_strfjoin(char *s1, char *s2)$/;" f typeref:typename:char *
|
|
||||||
ft_strgen libftx/extra/ft_strgen.c /^char *ft_strgen(char c, size_t len)$/;" f typeref:typename:char *
|
|
||||||
ft_striteri libftx/libft/ft_striteri.c /^void ft_striteri(char *s, void (*f)(unsigned int, char *))$/;" f typeref:typename:void
|
|
||||||
ft_strjoin libftx/libft/ft_strjoin.c /^char *ft_strjoin(const char *s1, const char *s2)$/;" f typeref:typename:char *
|
|
||||||
ft_strlcat libftx/libft/ft_strlcat.c /^size_t ft_strlcat(char *dest, const char *src, size_t size)$/;" f typeref:typename:size_t
|
|
||||||
ft_strlcpy libftx/libft/ft_strlcpy.c /^size_t ft_strlcpy(char *dst, const char *src, size_t size)$/;" f typeref:typename:size_t
|
|
||||||
ft_strlen libftx/libft/ft_strlen.c /^size_t ft_strlen(const char *s)$/;" f typeref:typename:size_t
|
|
||||||
ft_strlen libftx/printf/ft_strlen.c /^size_t ft_strlen(const char *s)$/;" f typeref:typename:size_t
|
|
||||||
ft_strmapi libftx/libft/ft_strmapi.c /^char *ft_strmapi(char const *s, char (*f)(unsigned int, char))$/;" f typeref:typename:char *
|
|
||||||
ft_strmerger libftx/extra/ft_strmerger.c /^char *ft_strmerger(size_t arg_len, ...)$/;" f typeref:typename:char *
|
|
||||||
ft_strnchr utils/ft_strnchr.c /^ssize_t ft_strnchr(const char *str, char c)$/;" f typeref:typename:ssize_t
|
|
||||||
ft_strncmp libftx/libft/ft_strncmp.c /^int ft_strncmp(const char *s1, const char *s2, size_t n)$/;" f typeref:typename:int
|
|
||||||
ft_strncpy utils/ft_strncpy.c /^size_t ft_strncpy(char *dst, const char *src, size_t n)$/;" f typeref:typename:size_t
|
|
||||||
ft_strndup libftx/extra/ft_strndup.c /^char *ft_strndup(const char *src, size_t n)$/;" f typeref:typename:char *
|
|
||||||
ft_strnstr libftx/libft/ft_strnstr.c /^char *ft_strnstr(const char *big, const char *little, size_t len)$/;" f typeref:typename:char *
|
|
||||||
ft_strrchr libftx/libft/ft_strrchr.c /^char *ft_strrchr(const char *s, int c)$/;" f typeref:typename:char *
|
|
||||||
ft_strreplace utils/ft_strreplace.c /^char *ft_strreplace(const char *str, const char *fill,$/;" f typeref:typename:char *
|
|
||||||
ft_strshift utils/ft_strshift.c /^void ft_strshift(char *str, int shift)$/;" f typeref:typename:void
|
|
||||||
ft_strtrim libftx/libft/ft_strtrim.c /^char *ft_strtrim(const char *s1, const char *set)$/;" f typeref:typename:char *
|
|
||||||
ft_substr libftx/libft/ft_substr.c /^char *ft_substr(char const *s, unsigned int start, size_t len)$/;" f typeref:typename:char *
|
|
||||||
ft_swap libftx/extra/ft_swap.c /^void ft_swap(void *a, void *b)$/;" f typeref:typename:void
|
|
||||||
ft_swap_char libftx/extra/ft_swap.c /^void ft_swap_char(char *a, char *b)$/;" f typeref:typename:void
|
|
||||||
ft_swap_int libftx/extra/ft_swap.c /^void ft_swap_int(int *a, int *b)$/;" f typeref:typename:void
|
|
||||||
ft_syntatic_verif syntatics.c /^int ft_syntatic_verif(t_data *data, const char *str)$/;" f typeref:typename:int
|
|
||||||
ft_tabrealloc libftx/extra/ft_tabrealloc.c /^char **ft_tabrealloc(char **tab, size_t current_size, size_t new_size)$/;" f typeref:typename:char **
|
|
||||||
ft_tolower libftx/libft/ft_tolower.c /^int ft_tolower(int c)$/;" f typeref:typename:int
|
|
||||||
ft_toupper libftx/libft/ft_toupper.c /^int ft_toupper(int c)$/;" f typeref:typename:int
|
|
||||||
ft_ultoa_base libftx/extra/ft_ultoa_base.c /^char *ft_ultoa_base(unsigned long long n, char *base)$/;" f typeref:typename:char *
|
|
||||||
ft_vdprintf libftx/printf/ft_vdprintf.c /^int ft_vdprintf(int fd, const char *format, va_list va)$/;" f typeref:typename:int
|
|
||||||
get_index env2.c /^int get_index(char *s, char c)$/;" f typeref:typename:int
|
|
||||||
get_key env3.c /^char *get_key(char *str)$/;" f typeref:typename:char *
|
|
||||||
get_next_line libftx/gnl/get_next_line.c /^char *get_next_line(int fd)$/;" f typeref:typename:char *
|
|
||||||
get_pwd builtins/pwd.c /^char *get_pwd(int fd)$/;" f typeref:typename:char *
|
|
||||||
get_value env3.c /^char *get_value(char *str)$/;" f typeref:typename:char *
|
|
||||||
get_value_by_key env.c /^char *get_value_by_key(char *key, t_list **head)$/;" f typeref:typename:char *
|
|
||||||
init_env env.c /^t_list **init_env(char **env)$/;" f typeref:typename:t_list **
|
|
||||||
is_space builtins/echo.c /^int is_space(char c)$/;" f typeref:typename:int
|
|
||||||
key minishell.h /^ char *key;$/;" m struct:s_env typeref:typename:char *
|
|
||||||
main main.c /^int main(int ac, char **av, char **env)$/;" f typeref:typename:int
|
|
||||||
main minishell_tester/test_files/loop.c /^int main(int argc, char const *argv[])$/;" f typeref:typename:int
|
|
||||||
move_folder builtins/cd.c /^int move_folder(char *path, int fd)$/;" f typeref:typename:int
|
|
||||||
next libftx/libft/libft.h /^ struct s_list *next;$/;" m struct:s_list typeref:struct:s_list *
|
|
||||||
next libftx/libftx.h /^ struct s_list *next;$/;" m struct:s_list typeref:struct:s_list *
|
|
||||||
possible_key env3.c /^int possible_key(char *key)$/;" f typeref:typename:int
|
|
||||||
print_env builtins/env.c /^int print_env(t_list **env, int fd)$/;" f typeref:typename:int
|
|
||||||
print_export builtins/export.c /^void print_export(t_list **env, int fd)$/;" f typeref:typename:void
|
|
||||||
pwd builtins/pwd.c /^int pwd(int fd)$/;" f typeref:typename:int
|
|
||||||
s_cmd minishell.h /^typedef struct s_cmd$/;" s
|
|
||||||
s_data minishell.h /^typedef struct s_data$/;" s
|
|
||||||
s_env minishell.h /^typedef struct s_env$/;" s
|
|
||||||
s_list libftx/libft/libft.h /^typedef struct s_list$/;" s
|
|
||||||
s_list libftx/libftx.h /^typedef struct s_list$/;" s
|
|
||||||
set_value_by_key env.c /^int set_value_by_key(char *key, char *value, t_list **head)$/;" f typeref:typename:int
|
|
||||||
swap_env env2.c /^void swap_env(void **a, void **b)$/;" f typeref:typename:void
|
|
||||||
swap_env_3 env2.c /^void swap_env_3(void **a, void **b, void **c)$/;" f typeref:typename:void
|
|
||||||
t_cmd minishell.h /^} t_cmd;$/;" t typeref:struct:s_cmd
|
|
||||||
t_data minishell.h /^} t_data;$/;" t typeref:struct:s_data
|
|
||||||
t_env minishell.h /^} t_env;$/;" t typeref:struct:s_env
|
|
||||||
t_list libftx/libft/libft.h /^} t_list;$/;" t typeref:struct:s_list
|
|
||||||
t_list libftx/libftx.h /^} t_list;$/;" t typeref:struct:s_list
|
|
||||||
unset builtins/unset.c /^int unset(t_list **env, char **args, int fd)$/;" f typeref:typename:int
|
|
||||||
value minishell.h /^ char *value;$/;" m struct:s_env typeref:typename:char *
|
|
1
tester
Submodule
1
tester
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 1c6111b2fd281937d38ebfa7e8d87b38baef0802
|
Loading…
Reference in New Issue
Block a user