summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/realpath.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-12-16 17:07:20 +0000
committerespie <espie@openbsd.org>1999-12-16 17:07:20 +0000
commitdcd42216be79e51028dbc6fa0be1a3837ec10dd3 (patch)
treea51e9e64017a5836e1743baa5d3f513a8f21d3df /lib/libc/stdlib/realpath.c
parentAllocate buffers as static data structures. (diff)
downloadwireguard-openbsd-dcd42216be79e51028dbc6fa0be1a3837ec10dd3.tar.xz
wireguard-openbsd-dcd42216be79e51028dbc6fa0be1a3837ec10dd3.zip
for.c becomes sane.
- split For_Eval into For_Eval (first line of loop) / For_Accumulate (remaining lines). - encapsulate state into a For structure, instead of brain damaged static variables that need copy. Very minor performance hit, specifically, For structure is allocated with malloc/free, instead of playing tricks with static/auto variables.
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
0 files changed, 0 insertions, 0 deletions