Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm 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 Message-ID: <390F4D94.C6E8E9F9@vinschen.de> Date: Tue, 02 May 2000 23:50:12 +0200 From: Corinna Vinschen Reply-To: cygdev Organization: Cygnus Solutions, a Red Hat Company X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cygdev Subject: [RFC] Is that error mapping correct? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I wonder if the error mapping is correct in case of ERROR_BAD_NETPATH. errno.cc maps that error to ENXIO ("No such device or address") while I'm sure the correct mapping would be ENOENT ("No such file or directory") because $ cat /foo/bar/baz cat: /foo/bar/baz: No such file or directory and $ cat //f/bar/baz cat: //f/bar/baz: No such file or directory looks fine while $ cat //foo/bar/baz cat: //foo/bar/baz: No such device or address seems somewhat strange. Have I missed something, perhaps? Corinna