Hi,
On 05/08/2015 09:42 AM, Wei, Jiangang wrote:
> On Thu, 2015-05-07 at 17:05 +0300, Alexey Kodanev wrote:
>
>> In both above cases it'll call anyfail() after checking fileokay()'s
>> return value.
>> If it seems not obvious we can close 'fd' here and it'd be better to use
>> SAFE_CLOSE() macro from safe_macros.h.
> There's no cleanup function for SAFE_CLOSE().
> so,
> close() is the same as SAFE_CLOSE(NULL, fd).

tst_brkm() is using tst_rmdir() as a cleanup function.


Best regards,
Alexey


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to