This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 0/4] Fix rename bug with socket files
- From: Ken Brown <kbrown at cornell dot edu>
- To: "cygwin-patches at cygwin dot com" <cygwin-patches at cygwin dot com>
- Date: Sun, 21 Jul 2019 01:53:00 +0000
- Subject: [PATCH 0/4] Fix rename bug with socket files
- Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cornell.edu;dmarc=pass action=none header.from=cornell.edu;dkim=pass header.d=cornell.edu;arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8rrb1wdu0cPbQhfj+QVerlLFjnJsYvDIM8e4/NCOo7o=; b=jEmmsxuzM+J+VvT7VzB7JQMFTOAnuSHU4z0tYhB6fBmTpM7tmq7iat/H7RftpLNmQPAPc6Rmti4RaoccyBvxgeNGobDcNGOGRqtpyxAKO1usChAA3zKIHt50jG44duntOYOxwfEysXNh+Er5an4oRKX+q9nBkMudhw3st0DJB1TXnlG+IDcv3/IxM2hPHRE1JHl+tEu5mQyyaxOCK0rsf62G9Pg9EKXAOQiQxC+S8J1Fzu4G945IZtj67pn8fJH7bE3+ILmLE0bf3z2V5D8bygzejWKJDB0w9nbBYJ7hpu/vWyNHkAXaBeXz8Gl11UYtWihUPOZskmgrm6Y+/ksCOA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TuB2gAg0p9Dsk5JLkYbpyKhwTp3OemiQXR7gS9fKQMULqaZY91t7W8wozwyb94Hc/fVnt/vW70g4VI3bVGOKxHC6GElm4lkwhZGZGpzCaLG1v2gfBsYeSXNCbVReRCb5Uy09BNHPYUpQ0pjV8AtXwpJv5YQijO+K52/EJgshIGIcgmk87laID/BrkTGYFLF9qIj2JVjTPfido5S0YZb2FS8KXffjfDRWILs6P2fihNWfjmaKyZB36qFapOlrb7wTk4zDHF8iVoc4hQLwI4w1VCLfxxmRpvgSWbniFDhZcBClSxHrXi/qeD2rYkYAtQHIu6Uu9g0K6Z3YCa4ycwrwcA==
The last patch of this series fixes the bug reported here:
https://cygwin.com/ml/cygwin/2019-07/msg00139.html
The first three patches do some cleanup of the is**device() methods.
Ken
Ken Brown (4):
Cygwin: fhandler_*: remove isdevice() and is_auto_device()
Cygwin: remove path_conv::is_auto_device()
Cygwin: remove path_conv::is_fs_device()
Cygwin: socket files are not lnk special files
winsup/cygwin/fhandler.h | 3 ---
winsup/cygwin/fhandler_disk_file.cc | 4 ++--
winsup/cygwin/fhandler_raw.cc | 2 +-
winsup/cygwin/path.cc | 2 +-
winsup/cygwin/path.h | 7 ++++---
5 files changed, 8 insertions(+), 10 deletions(-)
--
2.21.0