lperrey
|
e138e6550b
|
close cmd fd after each exec
|
2021-12-20 18:10:53 +01:00 |
|
lperrey
|
0cfb13595c
|
merge
|
2021-12-20 17:58:24 +01:00 |
|
lperrey
|
11d2f36307
|
norme headers
+ add -Werror flag in Makefile
|
2021-12-20 17:56:35 +01:00 |
|
Hugo LAMY
|
b8281e329c
|
remis Werror dans makefile et resoud warning dans new_token_for_each_field pour le retour de lst_clear
|
2021-12-20 17:25:36 +01:00 |
|
Hugo LAMY
|
7de89b43b1
|
srcs a la norme
|
2021-12-20 17:02:57 +01:00 |
|
Hugo LAMY
|
8959166804
|
norme en cours...
|
2021-12-20 15:54:07 +01:00 |
|
Hugo LAMY
|
0a64977cdc
|
merging conflicts
|
2021-12-20 15:07:58 +01:00 |
|
Hugo LAMY
|
59a43ea1cc
|
momentanee solution pour extern variable
|
2021-12-20 15:06:31 +01:00 |
|
LuckyLaszlo
|
49099a0abd
|
shell _script() use gnl() instead of readline()
to prevent copy of input to terminal.
+ here_doc_write_script() for nontty STDIN
|
2021-12-18 15:25:45 +01:00 |
|
LuckyLaszlo
|
0e520ef31e
|
fixed crash in builtin export with "" argument
+ builtin unset now update PATH
|
2021-12-18 13:45:20 +01:00 |
|
LuckyLaszlo
|
fa474c86ab
|
fixed signal exit in shell_script()
|
2021-12-18 08:55:54 +01:00 |
|
LuckyLaszlo
|
afbb1cd2e0
|
shell_script()
+ reset "rl_event_hook" to NULL after here_doc()
+ split init.c in multiple files
+ submodule minishell_tests
|
2021-12-18 05:42:08 +01:00 |
|
LuckyLaszlo
|
fa71189132
|
split valid_command.c in two files
|
2021-12-17 04:13:21 +01:00 |
|
LuckyLaszlo
|
36de7bf150
|
added valid_command() rule (only "cmd_prefix")
+ skip exec if no cmd_name in a command
|
2021-12-17 03:17:58 +01:00 |
|
LuckyLaszlo
|
59f0b7603b
|
deleted terminal.c
|
2021-12-16 06:39:29 +01:00 |
|
LuckyLaszlo
|
e5852579ef
|
submodule minishell_tests
|
2021-12-16 06:15:26 +01:00 |
|
LuckyLaszlo
|
81cc6fbff6
|
handle_access_error() exit status
|
2021-12-16 06:04:03 +01:00 |
|
LuckyLaszlo
|
06f1987ae4
|
small adjust in files
|
2021-12-16 05:05:25 +01:00 |
|
LuckyLaszlo
|
20c71bccbb
|
generic.c file split
|
2021-12-16 04:01:29 +01:00 |
|
LuckyLaszlo
|
f53969cd45
|
srcs files moved
|
2021-12-16 03:37:34 +01:00 |
|
LuckyLaszlo
|
5a0a237aaa
|
expansions refactoring done
|
2021-12-16 03:12:32 +01:00 |
|
LuckyLaszlo
|
e5f033694b
|
expansions refactoring WIP
|
2021-12-15 13:42:41 +01:00 |
|
LuckyLaszlo
|
5c1d8f527c
|
bugfix, pipeline must continue if expand_redirection() fail
+ ft_perror_io() delete
|
2021-12-11 21:22:43 +01:00 |
|
LuckyLaszlo
|
9c660d4f92
|
expand_redirection() : rejoin token list on error
+ words_expansions.c -> expansions.c
+ generic.c misc
|
2021-12-11 20:19:26 +01:00 |
|
LuckyLaszlo
|
a7de843dc1
|
check of cmd->error :
- before calling cmd_find_access()
- before calling simple_command_builtin()
|
2021-12-11 05:53:55 +01:00 |
|
LuckyLaszlo
|
465c4de21e
|
update submodule commit
|
2021-12-11 04:58:14 +01:00 |
|
LuckyLaszlo
|
82f0362323
|
expand redirections
|
2021-12-11 04:28:43 +01:00 |
|
LuckyLaszlo
|
d3d55386d9
|
refactoring parsing (wip)
|
2021-12-11 04:27:57 +01:00 |
|
LuckyLaszlo
|
9322ec9ec9
|
close_stdio() at exit
|
2021-12-10 06:34:44 +01:00 |
|
LuckyLaszlo
|
592bcb4e93
|
bugfix pipeline redirections
|
2021-12-09 20:57:31 +01:00 |
|
LuckyLaszlo
|
f7d37fadb6
|
here_doc bugfix
|
2021-12-09 05:32:20 +01:00 |
|
LuckyLaszlo
|
73feaf0230
|
builtin cd
|
2021-12-09 04:19:27 +01:00 |
|
LuckyLaszlo
|
34da9678dc
|
shlvl_init() fixed leak
|
2021-12-08 22:00:18 +01:00 |
|
LuckyLaszlo
|
322d8d5f09
|
added minishell_tests as submodule
|
2021-12-08 21:10:03 +01:00 |
|
LuckyLaszlo
|
cee6a8962b
|
shlvl_init(), set SHLVL
+ export builtin small change
|
2021-12-08 06:36:52 +01:00 |
|
LuckyLaszlo
|
bcc82aabaf
|
signals adjustements
|
2021-12-08 04:45:12 +01:00 |
|
LuckyLaszlo
|
8125e43065
|
init_prompt() correct error return
|
2021-12-08 04:02:00 +01:00 |
|
LuckyLaszlo
|
312c90539b
|
adjustement to ft_strjoin() after libft update
from libft : ft_strjoin() no longer return if an arg is NULL
|
2021-12-08 03:46:40 +01:00 |
|
LuckyLaszlo
|
8a7611da92
|
fixed empty quotes expansions
|
2021-12-08 03:03:16 +01:00 |
|
LuckyLaszlo
|
caa733e14a
|
open_pipes() bugfix
+ write "exit" to STDERR (like bash)
+ set_last_exit_status() on CTRL-C
|
2021-12-08 00:22:06 +01:00 |
|
LuckyLaszlo
|
200e043a8c
|
builtin export fixed and refactored
+ builtin exit, env verif OK
|
2021-12-06 03:56:05 +01:00 |
|
LuckyLaszlo
|
2d85c34b98
|
commented debug print in parsing
|
2021-12-06 01:14:18 +01:00 |
|
LuckyLaszlo
|
b7b3cec6e0
|
builtin unset + fixed builtin export
|
2021-12-05 18:15:23 +01:00 |
|
LuckyLaszlo
|
66183ab441
|
cd refactoring, error_wrappers
|
2021-12-05 16:28:41 +01:00 |
|
LuckyLaszlo
|
c3a9035622
|
builtins cd, pwd (todo, refactoring cd)
|
2021-12-05 01:01:27 +01:00 |
|
LuckyLaszlo
|
27c00a78a0
|
export builtin
|
2021-12-04 18:14:24 +01:00 |
|
LuckyLaszlo
|
2eed0f2d45
|
little fix, ft_lstnew_generic() prototype.
+ unused c var in builtin_env()
|
2021-12-03 16:10:04 +01:00 |
|
LuckyLaszlo
|
fb1974dd3b
|
redirect readline() prompt to stderr (like bash)
useful for testing program.
|
2021-12-02 01:47:14 +01:00 |
|
LuckyLaszlo
|
d710f5ef68
|
fixed readline() leak/double_free with **environ
|
2021-12-02 01:35:02 +01:00 |
|
LuckyLaszlo
|
b3f74c4179
|
refactoring exec
|
2021-12-01 17:24:32 +01:00 |
|