Released on Sat, 27 Jan 2007 19:00:03 +0000
[klibc] dash: Fix "pwd -P" breakage due to getcwd(0, 0) usage

The getpwd() function in dash assumed than getcwd(0, 0) will
allocate the buffer dynamically using malloc(); however, this
glibc extension is not implemented by klibc.  Make getpwd() use a
temporary buffer and invoke savestr() itself instead of relying on
a nonstandard extension.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
1 file changed