fs: use malloc'd mutable pathname buffers syslinux-4.00-pre23
authorH. Peter Anvin <hpa@zytor.com>
Tue, 16 Feb 2010 17:33:28 +0000 (09:33 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 16 Feb 2010 17:33:28 +0000 (09:33 -0800)
commit7021cdf0235262a6ee0abefda93b178343e83074
treedd4dfd8b3a588110e9b37408214eea6185b70977
parent5bce60d1b4222fb36ab786fc89e1fa98a9edf7e1
fs: use malloc'd mutable pathname buffers

Use malloc'd mutable pathname buffers during pathname walks.  This
avoids the need for very large static buffers, as well as the need to
copy character by character.  It also handles the symlink case fairly
nicely.

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