diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-03 08:59:12 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-03 08:59:12 +0000 |
commit | fa3a19983dbd3df1fdcb1a9a583eab771f3412fd (patch) | |
tree | a4a7cfbc3a14fe8e87a18397d5969d93faa816c8 /libutil/Makefile | |
parent | 6e91c122e5abb7f5cd0bd2db7d9cfbee6fa6b39f (diff) |
realpath: reduce stack usage from 3*PATH_MAX (12k) to 1*PATH_MAX (4k).
reduction is achieved by direct use of user-supplied PATH_MAX sized
buffer for result (without intermediate copy) and changes
in copy_buf[] usage - now it is used for both "source" pathname
and link name (it works because they have to be less than PATH_MAX combined,
otherwise we return NULL).
Diffstat (limited to 'libutil/Makefile')
0 files changed, 0 insertions, 0 deletions