musl/src
Szabolcs Nagy 929729d430 fix fesetenv(FE_DFL_ENV) on i386
the default fenv was not set up properly, in particular the
tag word that indicates the contents of the x87 registers was
set to 0 (used) instead of 0xffff (empty)

this could cause random crashes after setting the default fenv
because it corrupted the fpu stack and then any float computation
gives NaN result breaking the program logic (usually after a
float to integer conversion).
2014-02-09 18:19:03 +01:00
..
aio support configurable page size on mips, powerpc and microblaze 2013-09-15 02:00:32 +00:00
complex complex: add C11 CMPLX macros and replace cpack with them 2012-11-13 01:31:49 +01:00
conf correct the sysconf value for RTSIG_MAX 2013-09-20 01:49:03 -04:00
crypt add legacy functions setkey() and encrypt() 2014-02-05 11:09:53 -05:00
ctype include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
dirent include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
env include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
errno fix typo in newly-added error message for EOWNERDEAD 2013-02-07 03:13:35 -05:00
exit include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
fcntl in fcntl, avoid passing pointer arguments to syscalls as longs 2014-01-08 02:18:06 -05:00
fenv fix fesetenv(FE_DFL_ENV) on i386 2014-02-09 18:19:03 +01:00
internal fix ftello result for append streams with unflushed output 2014-02-07 00:57:50 -05:00
ipc fix inadvertent use of struct in place of union for semun 2014-01-08 17:37:05 -05:00
ldso fix crash in dynamic linker when certain copy relocations are unsatisfied 2014-01-21 00:36:35 -05:00
legacy include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
linux fix const-correctness of argument to stime 2014-01-07 03:02:14 -05:00
locale fix an overflow in wcsxfrm when n==0 2014-01-23 03:24:54 +01:00
malloc include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
math math: add drem and dremf weak aliases to i386 remainder asm 2014-01-08 22:51:46 +01:00
misc fix nftw FTW_MOUNT flag 2014-02-01 14:33:33 -05:00
mman include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
mq use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
multibyte include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
network fix argument types for legacy function inet_makeaddr 2014-01-06 22:17:24 -05:00
passwd include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
prng fix initstate to make the state buffer usable in setstate 2014-01-21 02:01:35 +01:00
process include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
regex include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
sched add pthread_setaffinity_np and pthread_getaffinity_np functions 2013-08-10 21:41:05 -04:00
search POSIX conformance fix: define struct entry in search.h 2013-10-29 20:25:11 +00:00
select remove __SYSCALL_SSLEN arch macro in favor of using public _NSIG 2013-03-26 23:07:31 -04:00
setjmp remove fenv saving/loading code from setjmp/longjmp on arm 2012-12-05 19:13:47 -05:00
signal fix const-correctness in sigandset/sigorset arguments 2014-01-07 02:50:34 -05:00
stat fix failure of fchmod, fstat, fchdir, and fchown to produce EBADF 2013-12-19 14:24:55 -05:00
stdio in fdopen, avoid setting O_APPEND flag if it's already set 2014-02-07 01:16:53 -05:00
stdlib include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
string include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
temp include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
termios include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
thread eliminate explicit (long) casts when making syscalls 2014-01-06 22:05:54 -05:00
time eliminate explicit (long) casts when making syscalls 2014-01-06 22:05:54 -05:00
unistd fix failure of fchmod, fstat, fchdir, and fchown to produce EBADF 2013-12-19 14:24:55 -05:00