misc/82980: realpath(3) treats regular files as directories
Imri Zvik
imriz at co.zahav.net.il
Mon Jul 4 16:30:18 GMT 2005
>Number: 82980
>Category: misc
>Synopsis: realpath(3) treats regular files as directories
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 04 16:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Imri Zvik
>Release: 5.4-RELEASE-p2 or 4.11-RELEASE-p9
>Organization:
Internet Gold
>Environment:
FreeBSD irving.inter.net.il 5.4-RELEASE-p2 FreeBSD 5.4-RELEASE-p2 #0: Sun Jun 19 10:08:28 IDT 2005 root at irving.inter.net.il:/usr/obj/usr/src/sys/IGLD amd64
>Description:
realpath resolves things like /tmp/test/. where /tmp/test is a regular file.
>How-To-Repeat:
touch /tmp/test
realpath /tmp/test/.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list