can't chmod socket files.
Kazuhiro Fujieda
fujieda@jaist.ac.jp
Thu Oct 7 18:13:00 GMT 1999
chmod() can't change modes of socket files, becaue symlink_check_one()
for socket files return in an incorrect manner.
ChangeLog:
Fri Oct 08 08:55:31 1999 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* path.cc (symlink_check_one): set errno to EINVAL on socket files
same as normal files.
--- path.cc- Wed Sep 15 12:56:51 1999
+++ path.cc Fri Oct 08 08:55:31 1999
@@ -2173,6 +2173,7 @@ symlink_check_one (const char *in_path,
{
res = 0;
*pflags |= PATH_SOCKET;
+ goto close_and_return;
}
else if (*pflags & PATH_EXEC)
goto close_and_return;
____
| 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