delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/26/10:48:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 26 Aug 2005 10:47:55 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with sh/bash and snapshot cygwin1-20050825.dll
Message-ID: <20050826144755.GF12490@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <430E9B0B DOT 8040303 AT scytek DOT de> <20050826052618 DOT GC4087 AT trixie DOT casa DOT cgf DOT cx> <20050826090717 DOT GB21203 AT calimero DOT vinschen DOT de> <430F0849 DOT 8040002 AT byu DOT net>
Mime-Version: 1.0
In-Reply-To: <430F0849.8040002@byu.net>
User-Agent: Mutt/1.5.8i

On Fri, Aug 26, 2005 at 06:17:13AM -0600, Eric Blake wrote:
>While you're at it, fix realpath(NULL, buf) to set buf[0]='\0', instead of
>leaving garbage there.

What's the rationale for touching buf when realpath is returning an error
and setting EINVAL?

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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