]> granicus.if.org Git - musl/commit
implement "low hanging fruit" from C11
authorRich Felker <dalias@aerifal.cx>
Sun, 26 Aug 2012 03:15:13 +0000 (23:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 26 Aug 2012 03:15:13 +0000 (23:15 -0400)
commit9bff7c133e73ecfb200614d7a7d386a164a1a61f
tree79941a40c606ca444994d0066524024f952f3698
parentb5289fd749bc4d2637610d712f8fe650f214f1d5
implement "low hanging fruit" from C11

based on Gregor's patch sent to the list. includes:
- stdalign.h
- removing gets in C11 mode
- adding aligned_alloc and adjusting other functions to use it
- adding 'x' flag to fopen for exclusive mode
include/stdalign.h [new file with mode: 0644]
include/stdio.h
include/stdlib.h
src/malloc/aligned_alloc.c [new file with mode: 0644]
src/malloc/memalign.c
src/malloc/posix_memalign.c
src/stdio/fopen.c