|
From: | Bruno Haible |
Subject: | Re: [PATCH 15/21] freopen: workaround freopen() on OS/2 kLIBC |
Date: | Tue, 02 Dec 2014 17:40:46 +0100 |
User-agent: | KMail/4.8.5 (Linux/3.2.0-64-generic; KDE/4.8.5; x86_64; ; ) |
KO Myung-Hun wrote: > > If it's the latter case (it leaves errno untouched), you need to add an > > 'errno = 0;' statement before the freopen call. > > > > I thought testing this. But it was wrong. Thanks for pointing this. Thanks. The corrected code looks good. Bruno
[Prev in Thread] | Current Thread | [Next in Thread] |