From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 27 14:20:10 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 781E0106566B for ; Wed, 27 Oct 2010 14:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 667A98FC1A for ; Wed, 27 Oct 2010 14:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9REKAej047345 for ; Wed, 27 Oct 2010 14:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9REKABo047344; Wed, 27 Oct 2010 14:20:10 GMT (envelope-from gnats) Date: Wed, 27 Oct 2010 14:20:10 GMT Message-Id: <201010271420.o9REKABo047344@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Arjan van Leeuwen" Cc: Subject: Re: kern/128933: [libc] realpath(3) does not follow SUS specification for a NULL/empty path X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Arjan van Leeuwen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 14:20:10 -0000 The following reply was made to PR kern/128933; it has been noted by GNATS. From: "Arjan van Leeuwen" To: bug-followup@freebsd.org, vega.james@gmail.com Cc: Subject: Re: kern/128933: [libc] realpath(3) does not follow SUS specification for a NULL/empty path Date: Wed, 27 Oct 2010 16:13:33 +0200 We ran into this recently. This is a real problem in portable code, since it's not possible to assume that realpath() will notify the caller if a file doesn't exist, even though it should according to the specification. Arjan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/