]> git.ipfire.org Git - thirdparty/util-linux.git/commit
namei: don't duplicate '/' directory
authorKarel Zak <kzak@redhat.com>
Mon, 26 Jan 2009 10:36:31 +0000 (11:36 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Jan 2009 10:36:31 +0000 (11:36 +0100)
commit922a121b6065ae8fd124a72cd0b7e8b9b890f9f6
treea3b38f253122f1a0d28935e71e5668a0c261c119
parent9bc0e24612e709449e3ff6fea926dd2ae746dfca
namei: don't duplicate '/' directory

sake@lelux ~ namei -l /
f: /
 drwxr-xr-x root root /
 drwxr-xr-x root root

The duplicate '/' directory is unexpected behavior.

Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/namei.c