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: <391731E3.B78C504B@vinschen.de> Date: Mon, 08 May 2000 23:30:11 +0200 From: Corinna Vinschen Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com 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: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: stat() behavior differs on Win9x and WinNT References: <779F20BCCE5AD31186A50008C75D997917171E AT silldn_mail1 DOT sanwaint DOT com> <39168E39 DOT E3A4494D AT vinschen DOT de> <20000508172057 DOT B1920 AT cygnus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Chris Faylor wrote: > > On Mon, May 08, 2000 at 11:51:53AM +0200, Corinna Vinschen wrote: > >"Fifer, Eric" wrote: > >> > >> With recent snapshots, stat() of a file with an invalid name, > >> like stat("abc>def") ('>' is not allowed in file names), does > >> not fail on Win98: > >> [...] > >[...] > >IMO the mapping ERROR_BAD_PATHNAME -> EINVAL is incorrect. > > I agree. Is the closest UNIX equivalent ENOENT? If so, let's make this > change. Yes, it is the closest equiv. Should I check it in? Corinna