cygwin_bind bug.
Kazuhiro Fujieda
fujieda@jaist.ac.jp
Wed Nov 24 18:28:00 GMT 1999
>>> On Wed, 24 Nov 1999 20:56:52 -0500
>>> Chris Faylor <cgf@cygnus.com> said:
> In that case, why even use an intermediate variable? Why not just check
> the results from bind and getsockname directly?
There is no reason... I carelessly failed to notice there is
no need of it.
> Index: net.cc
...
> else
> {
> _close (fd);
> chmod (un_addr->sun_path,
> (S_IFSOCK | S_IRWXU | S_IRWXG | S_IRWXO) & ~myself->umask);
> - res = 0;
> }
It is overkill. No one can set `res' to 0.
____
| AIST Kazuhiro Fujieda <fujieda@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology
More information about the Cygwin-developers
mailing list