summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-03 08:59:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-03 08:59:12 +0000
commitfa3a19983dbd3df1fdcb1a9a583eab771f3412fd (patch)
treea4a7cfbc3a14fe8e87a18397d5969d93faa816c8 /ldso/include
parent6e91c122e5abb7f5cd0bd2db7d9cfbee6fa6b39f (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 'ldso/include')
0 files changed, 0 insertions, 0 deletions