From owner-freebsd-bugs Thu Jan 31 7:20: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D1C8F37B402 for ; Thu, 31 Jan 2002 07:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0VFK3C99850; Thu, 31 Jan 2002 07:20:03 -0800 (PST) (envelope-from gnats) Date: Thu, 31 Jan 2002 07:20:03 -0800 (PST) Message-Id: <200201311520.g0VFK3C99850@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Sheldon Hearn Subject: Re: bin/12244: realpath() fails when there is no permission to read the WD Reply-To: Sheldon Hearn Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/12244; it has been noted by GNATS. From: Sheldon Hearn To: "Jose M. Alcaide" Cc: iedowse@FreeBSD.org, bug-followup@freebsd.org Subject: Re: bin/12244: realpath() fails when there is no permission to read the WD Date: Thu, 31 Jan 2002 17:13:11 +0200 On Mon, 21 Jan 2002 02:15:34 +0100, "Jose M. Alcaide" wrote: > Yes, it is. Realpath(3) continues using open()/fchdir() for > saving/restoring the current directory. I think that the getwd()/chdir() > method should be used as fallback. Could you submit a patch for that? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message