musl
11 years agoadd WHATSNEW file for 0.5.9 release
Rich Felker [Tue, 15 Feb 2011 02:58:53 +0000 (21:58 -0500)]
add WHATSNEW file for 0.5.9 release

11 years agoguard against hard links to non-ordinary-files when reading tcb shadow
Rich Felker [Tue, 15 Feb 2011 02:15:07 +0000 (21:15 -0500)]
guard against hard links to non-ordinary-files when reading tcb shadow

11 years agomore header cleanup and conformance fixes - string.h
Rich Felker [Tue, 15 Feb 2011 01:53:15 +0000 (20:53 -0500)]
more header cleanup and conformance fixes - string.h

11 years agomore header cleanup and conformance fixes - locale.h, time.h
Rich Felker [Tue, 15 Feb 2011 01:45:37 +0000 (20:45 -0500)]
more header cleanup and conformance fixes - locale.h, time.h

11 years agoheader cleanup, conformance fixes - signals
Rich Felker [Tue, 15 Feb 2011 01:33:54 +0000 (20:33 -0500)]
header cleanup, conformance fixes - signals

11 years agoupdate various bits headers for new linux additions
Rich Felker [Tue, 15 Feb 2011 01:03:55 +0000 (20:03 -0500)]
update various bits headers for new linux additions

based on patch by nik

11 years agoanother pointer signedness fix
Rich Felker [Tue, 15 Feb 2011 00:40:20 +0000 (19:40 -0500)]
another pointer signedness fix

11 years agofix some pointer signedness issues (this was invalid C)
Rich Felker [Tue, 15 Feb 2011 00:37:01 +0000 (19:37 -0500)]
fix some pointer signedness issues (this was invalid C)

11 years agomore header fixes, minor warning fix
Rich Felker [Tue, 15 Feb 2011 00:33:11 +0000 (19:33 -0500)]
more header fixes, minor warning fix

11 years agoensure standard functions mk[sd]temp don't depend on removed function mktemp
Rich Felker [Tue, 15 Feb 2011 00:18:06 +0000 (19:18 -0500)]
ensure standard functions mk[sd]temp don't depend on removed function mktemp

11 years agoput confstr.c with the other conf functions
Rich Felker [Tue, 15 Feb 2011 00:13:18 +0000 (19:13 -0500)]
put confstr.c with the other conf functions

11 years agomajor bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits)
Rich Felker [Mon, 14 Feb 2011 23:45:58 +0000 (18:45 -0500)]
major bugfix for sigset_t (it was mistakenly 1024 bytes instead of bits)

note that object files using sigset_t (or struct sigaction) need to be
recompiled to work correctly after this fix.

11 years agoextensive header cleanup for standards conformance & correctness
Rich Felker [Mon, 14 Feb 2011 23:41:25 +0000 (18:41 -0500)]
extensive header cleanup for standards conformance & correctness

thanks to Peter Mazinger (psm) for pointing many of these issues out
and submitting a patch on which this commit is loosely based

11 years agobegin namespace-cleanup of standard C headers
Rich Felker [Mon, 14 Feb 2011 10:10:10 +0000 (05:10 -0500)]
begin namespace-cleanup of standard C headers

11 years agouse a more-correct integer type, and silence 64-bit warnings as a bonus
Rich Felker [Mon, 14 Feb 2011 04:38:21 +0000 (23:38 -0500)]
use a more-correct integer type, and silence 64-bit warnings as a bonus

11 years agoexplicitly release crt/* to the public domain
Rich Felker [Mon, 14 Feb 2011 04:32:01 +0000 (23:32 -0500)]
explicitly release crt/* to the public domain

11 years agofixed missing cast in the non-i386 version of shmat (preparation for ports)
Rich Felker [Mon, 14 Feb 2011 04:26:51 +0000 (23:26 -0500)]
fixed missing cast in the non-i386 version of shmat (preparation for ports)

11 years agocleanup multibyte stuff to remove ugly casts, sanitize the ptr align casts
Rich Felker [Mon, 14 Feb 2011 04:08:18 +0000 (23:08 -0500)]
cleanup multibyte stuff to remove ugly casts, sanitize the ptr align casts

11 years agocleaning up syscalls in preparation for x86_64 port
Rich Felker [Mon, 14 Feb 2011 03:45:42 +0000 (22:45 -0500)]
cleaning up syscalls in preparation for x86_64 port

- hide all the legacy xxxxxx32 name cruft in syscall.h so the actual
source files can be clean and uniform across all archs.

- cleanup llseek/lseek and mmap2/mmap handling for 32/64 bit systems

- alternate implementation for nice if the target lacks nice syscall

11 years agosyscall cleanup for umount2
Rich Felker [Mon, 14 Feb 2011 02:29:36 +0000 (21:29 -0500)]
syscall cleanup for umount2

11 years agouse umount2 syscall for umount (new targets lack old 1-arg umount)
Rich Felker [Mon, 14 Feb 2011 02:28:43 +0000 (21:28 -0500)]
use umount2 syscall for umount (new targets lack old 1-arg umount)

11 years agoreorganize thread exit code, make pthread_exit call cancellation handlers (pt2)
Rich Felker [Mon, 14 Feb 2011 00:58:30 +0000 (19:58 -0500)]
reorganize thread exit code, make pthread_exit call cancellation handlers (pt2)

11 years agoreorganize thread exit code, make pthread_exit call cancellation handlers
Rich Felker [Mon, 14 Feb 2011 00:50:47 +0000 (19:50 -0500)]
reorganize thread exit code, make pthread_exit call cancellation handlers

11 years agoadded missing O_NDELAY
Rich Felker [Mon, 14 Feb 2011 00:02:57 +0000 (19:02 -0500)]
added missing O_NDELAY

11 years agofix previous commit that broke sigreturn. looks like the asm is needed.
Rich Felker [Mon, 14 Feb 2011 00:01:43 +0000 (19:01 -0500)]
fix previous commit that broke sigreturn. looks like the asm is needed.

11 years agoensure that musl is compiled as C99 code & XSI option is available in headers
Rich Felker [Sun, 13 Feb 2011 21:48:39 +0000 (16:48 -0500)]
ensure that musl is compiled as C99 code & XSI option is available in headers

11 years agofix omission that kept sa_restorer from being used
Rich Felker [Sun, 13 Feb 2011 21:46:33 +0000 (16:46 -0500)]
fix omission that kept sa_restorer from being used

11 years agoensure that the compiler doesn't try to reorder around atomic ops
Rich Felker [Sat, 12 Feb 2011 05:26:24 +0000 (00:26 -0500)]
ensure that the compiler doesn't try to reorder around atomic ops

11 years agoinitial check-in, version 0.5.0
Rich Felker [Sat, 12 Feb 2011 05:22:29 +0000 (00:22 -0500)]
initial check-in, version 0.5.0