misc/82980: realpath(3) treats regular files as directories
Giorgos Keramidas
keramida at freebsd.org
Mon Jul 4 23:10:19 GMT 2005
The following reply was made to PR kern/82980; it has been noted by GNATS.
From: Giorgos Keramidas <keramida at freebsd.org>
To: Imri Zvik <imriz at co.zahav.net.il>
Cc: freebsd-gnats-submit at 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 <imriz at co.zahav.net.il> 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
More information about the freebsd-bugs
mailing list