diff options
author | millert <> | 2017-05-24 21:18:25 +0000 |
---|---|---|
committer | millert <> | 2017-05-24 21:18:25 +0000 |
commit | 582bf8c75ad625f174914c547cfe5b962ba1f539 (patch) | |
tree | f0bf52388f83831ca81a49f345135df882cf9662 /src/lib/libc/stdlib/malloc.c | |
parent | bda66dbfbd399c867174f3c429d4b37e15f908d9 (diff) | |
download | openbsd-582bf8c75ad625f174914c547cfe5b962ba1f539.tar.gz openbsd-582bf8c75ad625f174914c547cfe5b962ba1f539.tar.bz2 openbsd-582bf8c75ad625f174914c547cfe5b962ba1f539.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/malloc.c')
0 files changed, 0 insertions, 0 deletions