delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/11/15/18:47:44

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: [patch] Handle NULL and empty pathnames
15 Nov 1998 18:47:44 -0800 :
Message-ID: <19981115183107.16554.cygnus.cygwin32.developers@cygnus.com>
References: <9811160034 DOT AA24254 AT modi DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
To: Mumit Khan <khan AT xraylith DOT wisc DOT edu>
Cc: cygwin32-developers AT cygnus DOT com

Committed.  Thanks, I agree, checking for handling NULL pathnames is
probably a good idea...

-gjn

On Sun, Nov 15, 1998 at 06:34:12PM -0600, Mumit Khan wrote:

> There've been a few bug reports on winsup's handling of both NULL and 
> empty (ie., "") pathnames. This patch should fix that.
> 
> Note that POSIX doesn't require handling of NULL pathnames at all, but
> SVR4 returns EFAULT (Bad address). I'm unsure as to what winsup should
> do, but being user-friendly doesn't hurt, I'm handling that as well.
> 
> Sun Nov 15 18:20:43 1998  Mumit Khan  <khan AT xraylith DOT wisc DOT edu>
> 
> 	* path.cc (mount_info::conv_to_posix_path): Handle NULL and
> 	empty pathnames.
> 	(mount_info::conv_to_win32_path): Likewise.

-- 
Geoffrey Noer
noer AT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019