From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 4 23:10:19 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 906F716A41C for ; Mon, 4 Jul 2005 23:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67CA043D46 for ; Mon, 4 Jul 2005 23:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j64NAJPV026586 for ; Mon, 4 Jul 2005 23:10:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j64NAJE3026583; Mon, 4 Jul 2005 23:10:19 GMT (envelope-from gnats) Date: Mon, 4 Jul 2005 23:10:19 GMT Message-Id: <200507042310.j64NAJE3026583@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Giorgos Keramidas Cc: Subject: Re: misc/82980: realpath(3) treats regular files as directories X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Giorgos Keramidas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 23:10:19 -0000 The following reply was made to PR kern/82980; it has been noted by GNATS. From: Giorgos Keramidas To: Imri Zvik Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/82980: realpath(3) treats regular files as directories Date: Tue, 5 Jul 2005 02:04:25 +0300 On 2005-07-04 16:21, Imri Zvik wrote: > realpath resolves things like /tmp/test/. where /tmp/test is a regular > file. > > touch /tmp/test > realpath /tmp/test/. This seems to work correctly in CURRENT and src/bin/realpath/realpath.c doesn't have any difference from RELENG_5 -> CURRENT. Whatever is the cause, seems to be kernel-related