LuckyLaszlo
d710f5ef68
fixed readline() leak/double_free with **environ
2021-12-02 01:35:02 +01:00
LuckyLaszlo
5b3e566b25
searching solution for invalid free in readline.
2021-11-29 12:15:17 +01:00
LuckyLaszlo
843b6d84c5
"extern char **environ" in header file
...
+ global var g_all deleted, renamed switch_heredoc_sigint
2021-11-26 21:58:52 +01:00
LuckyLaszlo
18d430c5cb
CO-CODE Hugo-Luke
...
+ last_exit_status set/get functions for here_doc
+ TODO : replace all occurences of last_exit_status
+ **environ fix
+ builtin_unset() fix
2021-11-26 20:44:29 +01:00
hugogogo
3465354af5
cd ok et appel a path dans export
2021-11-26 00:00:00 +01:00
hugogogo
ac11eee947
unset ok
2021-11-25 21:33:46 +01:00
hugogogo
ef3e91be13
variable extern environ fonction avec getenv et export ok
2021-11-25 19:45:41 +01:00
hugogogo
80410e6d81
gestion sigint dans heredoc fonctionne basiquement
2021-11-25 10:06:48 +01:00
LuckyLaszlo
965cf99ca5
merge
...
+ readline() replace gnl() in here_doc
+ "int error" in struct "t_cmd"
2021-11-16 22:30:20 +01:00
LuckyLaszlo
140549db00
WIP exec_cmd_line()
...
+ fix error handle in redirections()
+ rename ft_free_cmd_arr() to free_pipeline()
+ "char **path" added to "struct t_all"
+ misc
2021-11-16 08:49:57 +01:00
LuckyLaszlo
106af37b58
words_expansions() complete
...
+ TODO : need refactoring and fix to valgrind invalid read size
+ redirections() WIP
+ Generic ft_dup_2d_arr(), ft_split_quotes(), ft_strdup_quotes()
+ shell_loop() continue on error
+ various small fix
2021-11-14 00:09:42 +01:00
hugogogo
d65a701186
add ctrl-c and ctrl-d aka eof handling
2021-11-10 13:46:17 +01:00
hugogogo
27ac62bddc
merging luke remote with origin local
2021-11-02 13:56:26 +01:00
LuckyLaszlo
22d4bbfdd0
norme
2021-10-31 01:10:57 +02:00
LuckyLaszlo
ab2aa509df
signals and termios WIP
...
+ shell script placeholder
+ generics functions
+ valgrind add_history() supp
+ misc
2021-10-30 16:39:24 +02:00
hugogogo
b1b8a61921
fill cmd et execute pipes ok
2021-10-28 21:00:00 +02:00
LuckyLaszlo
906074d2cb
envp dup array
...
+ c->last_exit_status
2021-10-24 10:23:20 +02:00
LuckyLaszlo
1054f3d6ff
lexer (need refactoring)
...
+ littles miscs
2021-10-19 20:25:41 +02:00
LuckyLaszlo
a701488b6a
valgrind suppression file for readline()
...
+ ./.valgrindrc
+ basic free_exit()
+ U_DEFAULT_* macro in _user_macro.h
2021-10-11 01:58:57 +02:00
LuckyLaszlo
c0068a5ec7
wip builtins: env, exit
2021-10-10 08:57:33 +02:00
LuckyLaszlo
a7e0066458
refactoring
2021-10-08 19:15:21 +02:00