summaryrefslogtreecommitdiffstats
path: root/build-aux/mkinstalldirs
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-30 03:14:10 +0200
committerDan McGee <dan@archlinux.org>2012-04-30 03:14:10 +0200
commit52a9a5240ac8dc9eef1fc68c1bf4290b76fe09ae (patch)
treee37ae79bdf8c9b9dbf1d21864e292fdce96f81ab /build-aux/mkinstalldirs
parente0afd81d18fdc646bbf6d37a1627c0267176e167 (diff)
downloadpacman-52a9a5240ac8dc9eef1fc68c1bf4290b76fe09ae.tar.gz
pacman-52a9a5240ac8dc9eef1fc68c1bf4290b76fe09ae.tar.xz
Move short-lived realpath buffers to the stack
There is little reason here to grab 4K from the heap only to return it a few lines later. Instead, just use the stack to hold the returned value saving ourselves the malloc/free cycle. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'build-aux/mkinstalldirs')
0 files changed, 0 insertions, 0 deletions