Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: can't chmod socket files. Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 08 Oct 1999 10:12:54 +0900 Message-ID: Lines: 23 X-Mailer: Gnus v5.3/Emacs 19.34 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 * 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology