setlocal not allowed

This commit is contained in:
gwojda 2017-03-23 16:39:51 +01:00
parent 061daad09c
commit 6b6376fe70
3 changed files with 5 additions and 6 deletions

View file

@ -6,14 +6,14 @@
# By: wescande <wescande@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/08/29 21:32:58 by wescande #+# #+# #
# Updated: 2017/03/23 03:25:35 by wescande ### ########.fr #
# Updated: 2017/03/23 16:37:26 by gwojda ### ########.fr #
# #
# **************************************************************************** #
NAME = 42sh
CC = gcc
FLAGS = -Wall -Wextra -Werror #-fvisibility=hidden #-fsanitize=address
FLAGS = -Wall -Wextra -Werror -fvisibility=hidden -fsanitize=address
D_FLAGS = -g
DELTA = $$(echo "$$(tput cols)-47"|bc)

View file

@ -6,7 +6,7 @@
# By: jhalford <jack@crans.org> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2017/02/07 16:09:36 by jhalford #+# #+# #
# Updated: 2017/03/21 12:25:27 by gwojda ### ########.fr #
# Updated: 2017/03/23 16:38:05 by gwojda ### ########.fr #
# #
# **************************************************************************** #
@ -19,7 +19,7 @@ RM = /bin/rm -rf
W_FLAGS = -Wall -Wextra -Werror -g
D_FLAGS = -g
V_FLAGS = #-fvisibility=hidden
V_FLAGS = -fvisibility=hidden
FLAGS = $(W_FLAGS) $(D_FLAGS) $(V_FLAGS)
DELTA = $$(echo "$$(tput cols)-47"|bc)

View file

@ -6,7 +6,7 @@
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/20 14:45:40 by gwojda #+# #+# */
/* Updated: 2017/03/23 00:28:58 by ariard ### ########.fr */
/* Updated: 2017/03/23 16:39:07 by gwojda ### ########.fr */
/* */
/* ************************************************************************** */
@ -67,7 +67,6 @@ int main(int ac, char **av)
g_argv = av;
DG("----------------");
setlocale(LC_ALL, "");
if (shell_init(ac, av) != 0)
return (1);
token = NULL;