summaryrefslogtreecommitdiff
path: root/src/math/sin.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-12-13 02:25:09 -0500
committerRich Felker <dalias@aerifal.cx>2013-12-13 02:25:09 -0500
commit2b7cf6dbb9d56c5fac8f673e7c9d06c81d312af5 (patch)
treedc8df5dcdb658cc1b08f89f0e228dd9609eb0fa3 /src/math/sin.c
parenta7dbcf5c8ca7edb7a46eb276031ad1df4131135b (diff)
downloadmusl-2b7cf6dbb9d56c5fac8f673e7c9d06c81d312af5.tar.gz
optimize get_current_dir_name to reduce stack bloat
our getcwd already (as an extension) supports allocation of a buffer when the buffer argument is a null pointer, so there's no need to duplicate the allocation logic in this wrapper function. duplicating it is actually harmful in that it doubles the stack usage from PATH_MAX to 2*PATH_MAX.
Diffstat (limited to 'src/math/sin.c')
0 files changed, 0 insertions, 0 deletions