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 Content-Type: text/plain; charset=us-ascii To: Mumit Khan 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 > > * 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