* cygerrno.h (save_errno::~save_errno): Set errno directly to avoid
flooding debug output.
This commit is contained in:
parent
590f450aa9
commit
c84bbb2d8f
|
@ -1,3 +1,8 @@
|
||||||
|
2009-06-08 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* cygerrno.h (save_errno::~save_errno): Set errno directly to avoid
|
||||||
|
flooding debug output.
|
||||||
|
|
||||||
2009-06-08 Corinna Vinschen <corinna@vinschen.de>
|
2009-06-08 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* path.cc (symlink_info::check): Return with error set to ENOENT if
|
* path.cc (symlink_info::check): Return with error set to ENOENT if
|
||||||
|
|
|
@ -44,7 +44,7 @@ class save_errno
|
||||||
save_errno (int what) {saved = get_errno (); set_errno (what); }
|
save_errno (int what) {saved = get_errno (); set_errno (what); }
|
||||||
void set (int what) {set_errno (what); saved = what;}
|
void set (int what) {set_errno (what); saved = what;}
|
||||||
void reset () {saved = get_errno ();}
|
void reset () {saved = get_errno ();}
|
||||||
~save_errno () {set_errno (saved);}
|
~save_errno () {errno = _impure_ptr->_errno = saved;}
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const char *__sp_fn;
|
extern const char *__sp_fn;
|
||||||
|
|
Loading…
Reference in New Issue