From 4f77dde859bd0abc11b57508dd82351fecbb7b72 Mon Sep 17 00:00:00 2001 From: Etienne Rey-bethbeder Date: Thu, 2 Feb 2023 18:26:09 +0100 Subject: [PATCH] ca compile mtn --- .env.c.swo | Bin 0 -> 12288 bytes env.c | 6 +++--- env.o | Bin 0 -> 7120 bytes 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .env.c.swo create mode 100644 env.o diff --git a/.env.c.swo b/.env.c.swo new file mode 100644 index 0000000000000000000000000000000000000000..7b3c45de901ebafcef65b9530e7a504d72b54f0e GIT binary patch literal 12288 zcmeI2TWB0r7{^bGmriY})CZv=o@`1oJG+~`B#}Dp#?l)Nv1zs{L+ zzVn^$`=84sbgG5NruOm8qeX`6F2?S^_`R;4{&MZQ^S3k8HRp0w)2F88uHw$p=y*wU zjy77hIb)92+@-Bg#t!qotF^UOC%>cRdM$6fl%KI2%d4BVoj0BKsJ?W6Q7aS>3S6fG zEx(rAJix|E#R7R4N)7V6H%worGto^bAQTV^2nB=!LII(GP(Uak6u21`@SCgHlL&lu z6#PPTU)6Vy9>q;4AQTV^2nB=!LII(GP(Uak6c7ps1%v`ZftyeP&0tK$FaM`+LGbwh z|M>U+H}7QZ2p9n8)-!etYy_VTFxCMh;M;YKodHh+4;%oGgHezL8^L-o0509Z*w5fc z@G*D=oCUMsFxU;YgAuR^q`)A!w3e|y!3FRu_y)WW-UTm!<3IyPz#(uDjDaFZ0~y={ z)&K^6lNkF2oChC*H^5o&Ja`VA0w=)61;3cpC=0F>416i;E+zI}{nz#)90$+hIzz5(h z@FI8y(7JgFh)XDN?FyWrOUX0IHT{iQuf|aZqmur5-^IZo}n6QSyfqjqcoZ3CL>(Tw? zZPrZLsTdr$5er{54I6eyLEFZQt1W37>wrAoNxQOzmYN@{y z#GyXaHV;UWD@_u0;_m2`SUF}V=pM^Ut`@l=gC2!@VhCH7Q8CbZS#JnBn(`_9E&s3`}!WRY61YL%;qhlNJkMbeQh$P<;Qql8e>XPOnwZq_w?zemql`TdhXnHI6^ zmXT_4z`4mlhA3=4JWNBbWFYh?V4yhfGLM!Ps*t9nMDrT2v&fE?9_{t+ehdwGxH99t zj2ObLtmqKIfCNev1qCO9q-a#CqJ*7;Lx9$K;8KBI`qEo5YuzMbPfz8&$ zWwEQjHFZ{)rE>^Kb%1CF+7? zD4*`MCrdEiiQ#ct!y%hGbB;ZJlEkQLZ|`~3}!)z z-Y$CGm380A@{#gLn&+Su9Uvo>kzfn^4lT{TEq?7X(dcj&}I^;tc@)+MDcl`QN z&cIpp2aZrm+;tsppHsVOZJp8Fw&iRaFCmr59_yqSILWB7ryiei%8BVp3*@cq5phP| wV~4bc^p!db?bM9As1QEK4zJBuWUZ>POO)tB{r_^fR1~4Z8?{dqY`Q%A7fgj%tN;K2 literal 0 HcmV?d00001 diff --git a/env.c b/env.c index b0c1342..b7a4577 100644 --- a/env.c +++ b/env.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/02 14:39:56 by erey-bet #+# #+# */ -/* Updated: 2023/02/02 17:39:56 by erey-bet ### ########.fr */ +/* Updated: 2023/02/02 18:25:51 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -25,7 +25,7 @@ void print_export(t_list **head, int fd) if (*(ft_strchr(ctn, '=') - 1) != '_') { write(fd, "declare -x ", 11); - ft_putstr_fd(ctn, fd); + ft_putstr_fd(fd, ctn); write(fd, "\n", 1); } current = current->next; @@ -39,7 +39,7 @@ void print_env(t_list **head, int fd) current = *head; while (current != NULL) { - ft_putstr_fd(current->content, fd); + ft_putstr_fd(fd, current->content); write(fd, "\n", 1); current = current->next; } diff --git a/env.o b/env.o new file mode 100644 index 0000000000000000000000000000000000000000..26d8a699c0eeba283b679ae6ff5b3affd02e6710 GIT binary patch literal 7120 zcmbtYdu&_P89&!I$8q8$&V#nF@`ze0B(^#a+QC>tJz5vXX@J4P0;5fB$4NXKC-~8( zh)^a6gt0(j(lkwC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