summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
authormillert <>2017-05-24 21:18:25 +0000
committermillert <>2017-05-24 21:18:25 +0000
commit228cae985cb23cf92bfe09e2e620b9fb68f8129d (patch)
treef0bf52388f83831ca81a49f345135df882cf9662 /src/lib/libc/stdlib/getenv.c
parent9329cce20278a230c46f465b58dcf3f3d03f088e (diff)
downloadopenbsd-228cae985cb23cf92bfe09e2e620b9fb68f8129d.tar.gz
openbsd-228cae985cb23cf92bfe09e2e620b9fb68f8129d.tar.bz2
openbsd-228cae985cb23cf92bfe09e2e620b9fb68f8129d.zip
Support swapping 32-bit aligned elements on 64-bit platforms.
Previously they would be swapped a byte at a time when sizeof(int) != sizeof(long). Idea from FreeBSD.
Diffstat (limited to 'src/lib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions