chdir: collapse /./ and /../ in path for conventional filesystems syslinux-4.06-pre8
authorH. Peter Anvin <hpa@zytor.com>
Fri, 29 Jun 2012 00:26:19 +0000 (17:26 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 29 Jun 2012 00:26:49 +0000 (17:26 -0700)
commit255fd8e592d2fb014e4a13a98655aed0bf9d6121
treefe50e90ccbff46a2a03ef28dac03e2059dd667b3
parent2a2fd4f65be041d467532c0f19325978dbda7a5b
chdir: collapse /./ and /../ in path for conventional filesystems

For conventional filesystems (i.e. not PXE), collapse /./ and /../ in
the path when doing chdir.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/chdir.c