From 708fc9ab3c1cf0c2bdf65ac473849a59f0accf5f Mon Sep 17 00:00:00 2001 From: Igor Dzuro Date: Fri, 27 Mar 2020 03:57:44 +0100 Subject: [PATCH] fix2 --- du3/program | Bin 16808 -> 16952 bytes du3/program.c | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/du3/program b/du3/program index 92fd8f075889fed413e4784308ff8ae6f1828c30..ed77f5fe27a4ef0c24be57be76fceab846bc3b5f 100755 GIT binary patch delta 2174 zcmZuzTWl0n7(QqALZ@`woo<)uYO%Xq)JnQnwq0N=v($wt;bDn3S)+lLYYid|w5IWr zZc`vEb(3BGkU+x2VhA(@6YECP_@FJQl@~*OFy4Tok}N@?5Fg3|jQ^RLL(;~-ne(0h z`!DC8bN)Ho(P27%nC9!HqLb*N7(m7gO&7#DyP?e$ehE}MEQaE+KrP)P_6ml2sx(9o z(e`Qiw;Kn~yw&7Sym7s`;q>v_%d$VSfW`Pwe2h$INrpOg&S6B87ngq2FunVS{d+sR zp%8LGO0Wy>5V#+5L!;FOyDW7y1>F{zu3#f{S?Y!3x>+D=b^cj43a3r(C8jNnU~-9g zNS9))QeiHZKwJh1!6mwJ#yonV$-0#8gbmge;-S7>2m1TS{(aDGeZQUv<{#0~7?Fef zR*z?gnXueuO!xvB@Y!UKA{lH-nQu+OR$IHr+*92&yWa3%oCu%T$?$+tlnI>hNE)sn@pTY?}o_)STl_JZUx8Hi?d!dkMz; zThsW8P7R@==4|gVSTon>R!402{5U@{(I;v%&(t(#Sn?|-VvenPKy)+QbvDp%p+Z_& za~=bTn!VjurH-^c^g~<<4^AbEND_4_IcnmkCXSmpVdD2DUej^JeU2@kOU`^%hlHA) zD(`%vX=*k(rw)HONBWmw4en|}%5kLiTz5_~$6RNTMX9-{9j${baNoQ@7Y1I(?k-z- z;N7mNsV}iACAuCCpG{krIpK8MD)B&ixriKCMX5&A1r4e(@MxM{GBnS+U=J zU5T}nFF&p`YrA@7kH4nzFncwU2XAfNlHe*rI@Me=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)OZDfq`jNWfyq?Bii$7Uo)dXbP^jczi`hFdUqdc2nlnt$|Nb z0wpt}rfJVHZ}wfVf#vG*nrZ*bl;LW?nXfpN4@7r39f!WaIT}EV%Ti9FAO&T*hEJEp zMoK!0*j@tVN>XG9lfe)jhB?&KkTk3YW!B$~;I}jiiy;|LaxvtBUqT_e0KTy7-rygq zQ5x|f3Z#a3p)V}cqi`~;V9zsQjb4G7R*#T&z^ASExbxVHmo$)Q+>A3J1X7#qK7dyJ zx-hN$SdPFPTJ30c2(@IwaeM3_i>0Ua4Abai|DXKt!765$XZeK&!mkUS=K|1(EH1PB zdJDdYJdiSL;687gR(=N~KlQPu@8~9K+*Fuw-Sj_UUQs&H(Doy%bC-rzR>{Ak?hrr= zx&+b)TM^mXiMJ%XNb3r|_8^6!=+p2+w6hTExJ2QPd#_PHtamCBCmcr`xVsdI(~{#X zY=xZgOxJFS(}!a{%ycQ0oOGo!xY8AoI5Rn}fjg#1oWC4XFc2HFCC!#$JSM}RF-aUY z$uSI4cl*x27C$)(1Kmm`e~S~2LcY6PK$^|O6_N8I3ajyUB;88f1O9}cs?e9{5uXYe YJ0Y%1I4<7h5!Hn diff --git a/du3/program.c b/du3/program.c index 9f078ae..a3e22ef 100644 --- a/du3/program.c +++ b/du3/program.c @@ -7,7 +7,7 @@ int main() { char buffer[20]; - struct tm tm; + struct tm tm = {0}; char *retval = fgets(buffer, sizeof(buffer), stdin); @@ -23,7 +23,10 @@ int main() { return 0; } + tm.tm_isdst = -1; tm.tm_mday += 7; + + mktime(&tm); strftime(buffer, sizeof(buffer), "%e.%m.%-Y", &tm); puts(buffer);