OSDN Git Service

redo errno handling so that it should work both in thread and non-threaded situations