Date: Mon, 3 Feb 1997 21:23:45 +0100 (MET) From: Guido van Rooij <guido@gvr.win.tue.nl> To: vadim@tversu.ac.ru, freebsd-security@freebsd.org Cc: pst@freebsd.org (Paul Traina), imp@freebsd.org Subject: fix to lfix ;-)) Message-ID: <199702032023.VAA10988@gvr.win.tue.nl>
next in thread | raw e-mail | index | archive | help
Underneath a newer version of the lfix program. This gets rid of a file descriptor leak present in the original version. -Guido begin 644 lfix.c M+RH*"B`@,#,M1F5B+3$Y.3<*"B`@5&AI<R!P<F]G<F%M(&-A;B!D:7-A8FQE M("AO<B!E;F%B;&4I($Q/0T%,12!P<F]C97-S:6YG(&EN('!R;V=R86TG<PH@ M('-T87)T=7`@8V]D92`H=6YD97(@1G)E94)31"`R+C$N>"D@+2!I="!C86X@ M8F4@=7-E9G5L(&9O<B!T96UP;W)A<GD*("!F:7AI;F<@;V8@(E!!5$A?3$]# M04Q%(B!S96-U<FET>2!H;VQE+@H*("!4;R!C;VUP;&5T92!D969E;G-E('EO M=2!N965D('1O('!A=&-H('EO=7(@;&EB8R!A;F0@<F5C;VUP:6QE(&%L;`H@ M('-T871I8V%L;'D@;&EN:V5D(&)I;F%R:65S('=I=&@@;F5W(&QI8F,N"@H@ M($-O<'ER:6=H="`H0RD@,3DY-R!6861I;2!+;VQO;G1S;W8@/'9A9&EM0'1V M97)S=2YA8RYR=3X*"B`@268@>6]U)VQL(&9I;F0@=&AA="!T:&ES('!R;V=R M86T@8V%N)W0@=V]R:R!W:71H(&5A<FQI97(@=F5R<VEO;G,*("!O9B!&<F5E M0E-$+"!S96YD(&UE('-O;64@;&ET=&QE(&)I;F%R>2!F<F]M('EO=7(@<F5L M96%S92!A;F0@22=L;`H@(&%D9"!S=7!P;W)T(&9O<B!I="X*"BHO"@HC:6YC M;'5D92`\<W1D:6\N:#X*(VEN8VQU9&4@/&9T<RYH/@HC:6YC;'5D92`\<W1R M:6YG+F@^"B-I;F-L=61E(#QS=&1L:6(N:#X*(VEN8VQU9&4@/'-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W!A=&A< M;EQN(@H)("`@("`@("`@("(@("`@("`@+7,@+2T@<VEL96YT(&UO9&5<;B(* M"0D@("(@("`@("`@+78@+2T@=F5R>2!V97)B;W-E(&UO9&5<;B(I.PH@(&5X M:70H,2D["GT*"G9O:60@;6%I;BAI;G0@87)G8RP@8VAA<B`J87)G=EM=*0I[ M"B`@1E13("IF='-P.PH@($944T5.5"`J<#L*("!I;G0@9G1S7V]P=&EO;G,@ M/2!&5%-?4$A94TE#04P["B`@;6]D95]T(&]L9&UO9&4["B`@8VAA<B!C.PH* M("!I9B`H*&,@/2!G971O<'0H87)G8RP@87)G=BP@(G9S(BDI("$]($5/1BD* M("`@('-W:71C:"`H8RD*("`@('L*("`@("`@8V%S92`G<R<Z(`H)4T9L86<@ M/2`Q.R!B<F5A:SL*("`@("`@8V%S92`G=B<Z(`H)5D9L86<@/2`Q.R!B<F5A M:SL*("`@("`@9&5F875L=#H@"@EU<V%G92@I.PH@("`@?0H@(&%R9V,@+3T@ M;W!T:6YD.PH@(&%R9W8@*ST@;W!T:6YD.PH*("!I9B`H87)G8R`\(#$I('5S M86=E*"D["@H@(&EF("@A4T9L86<I"B`@("!P<FEN=&8H(E!R;V-E<W-I;F<@ M9FEL97,N+BY<;B(I.PH@(&9T<W`@/2!F='-?;W!E;BAA<F=V+"!F='-?;W!T M:6]N<RP@,"D["B`@=VAI;&4@*'`@/2!F='-?<F5A9"AF='-P*2D*("!["B`@ M("!I9B`H<"T^9G1S7VEN9F\@(3T@1E137T8I(&-O;G1I;G5E.PH@("`@;VQD M;6]D92`]('`M/F9T<U]S=&%T<"T^<W1?;6]D93L*("`@(&EF("AC:&UO9"AP M+3YF='-?;F%M92P@4U])4E534GQ37TE755-2*2`\(#`I"B`@("!["@H@("`@ M("!I9B`H(5-&;&%G*2`*("`@("`@("!F<')I;G1F*'-T9&5R<BP@(D-A;B=T M('-E="!R+W<@;6]D92!F;W(@7"(E<UPB+"!S:VEP<&EN9UQN(BP@<"T^9G1S M7VYA;64I.PH@("`@("!C;VYT:6YU93L*("`@('T*("`@(&EF("@H;VQD;6]D M92`F(%-?25A54U(I?'PH;VQD;6]D92`F(%-?25A'4E`I?'PH;VQD;6]D92`F M(%-?25A/5$@I*0H@("`@("!P<F]C97-S*'`M/F9T<U]N86UE*3L@"B`@("!I M9B`H8VAM;V0H<"T^9G1S7VYA;64L(&]L9&UO9&4I(#P@,"D*("`@('L*("`@ M("`@:68@*"%31FQA9RD*("`@("`@("!F<')I;G1F*'-T9&5R<BP@(D-A;B=T M(')E<W1O<F4@;6]D92!F;W(@7"(E<UPB("@E>"DL(&%L97)T(2XN7&XB+"!P M+3YF='-?;F%M92P@;VQD;6]D92D["B`@("`@(&-O;G1I;G5E.PH@("`@?0H@ %('T*?0I? ` end
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702032023.VAA10988>