diff options
author | Tor Lillqvist <tml@iki.fi> | 2010-10-07 12:04:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2010-10-07 12:06:48 +0300 |
commit | 46390c9d107b6df55de458b3ffe47a5428d7f287 (patch) | |
tree | 59b7917e0d9dc57f555508a230d49658072bedac /tests/gobject | |
parent | 200e3d7307df75803c03a2aebcbba0dc5eaa9161 (diff) |
Don't call close() on -1
Of course, a proper implementation of close() will just ignore an
invalid parameter silently, and set errno. But apparently the "debug"
version of the Microsoft C library generates some noise in this
case. So avoid that. Thanks to John Emmas for reporting.
Diffstat (limited to 'tests/gobject')
0 files changed, 0 insertions, 0 deletions