aboutsummaryrefslogtreecommitdiff
path: root/crt/rcrt1.c (unfollow)
Commit message (Expand)AuthorFilesLines
2016-09-16fix if_indextoname error case•••posix requires errno to be set to ENXIO if the interface does not exist. linux returns ENODEV instead so we handle this. Daniel Sabogal1-1/+6
2016-09-16fix ifru_data and ifcu_buf types in net/if.h•••glibc, freebsd, and openbsd use character pointers (caddr_t) for these fields. only linux uses void pointer for the ifru_data type. Daniel Sabogal1-2/+2
2016-09-16fix printf regression with alt-form octal, zero flag, and field width•••commit b91cdbe2bc8b626aa04dc6e3e84345accf34e4b1, in fixing another issue, changed the logic for how alt-form octal adds the leading zero to adjust the precision rather than using a prefix character. this wrongly suppressed the zero flag by mimicing an explicit precision given by the format string. switch back to using a prefix character. based on bug report and patch by Dmitry V. Levin, but simplified. Rich Felker1-1/+1
2016-08-30restore _Noreturn to __assert_fail•••this reverts commit 2c1f8fd5da3306fd7c8a2267467e44eb61f12dd4. without the _Noreturn attribute, the compiler cannot use asserts to perform reachability/range analysis. this leads to missed optimizations and spurious warnings. the original backtrace problem that prompted the removal of _Noreturn was not clearly documented at the time, but it seems to happen only when libc was built without -g, which also breaks many other backtracing cases. Rich Felker2-2/+2
2016-08-30getdtablesize: fix returning hard instead of soft rlimit•••This makes the result consistent with sysconf(_SC_OPEN_MAX). Olivier Brunel1-1/+1
2016-08-30fix FFSYNC by changing it to O_SYNC•••O_FSYNC was never defined and is legacy/wrong, nothing seems to use it. Duncan Overbruck1-1/+1
2016-08-30configure: handle mipsisa64* triplet as a mips64 target•••the gnu config.sub script recognizes several mipsisa64* cpu types that musl supports as mips64 targets. Szabolcs Nagy1-1/+1
2016-08-30math: fix 128bit long double inverse trigonometric functions•••there was a copy paste error that could cause large ulp errors in atan2l, atanl, asinl and acosl on aarch64, mips64 and mipsn32. (the implementation is from freebsd fdlibm, but the tail end of the polynomial was wrong. 128 bit long double functions are not yet tested so this went undetected.) Szabolcs Nagy1-1/+1
2016-08-30verify that ttyname refers to the same file as the fd•••linux containers use separate mount namespace so the /proc symlink might not point to the right device if the fd was opened in the parent namespace, in this case return ENOENT. Szabolcs Nagy1-4/+11
2016-08-30microblaze: add syscall numbers from linux v4.7•••userfaultfd, membarrier and mlock2 syscalls got wired up in linux commit fbce3befd60d40639bf3c6b60f7477b2f988f92d Szabolcs Nagy1-0/+3
2016-08-30add SS_AUTODISARM sigaltstack ss_flags from linux v4.7 to signal.h•••only matters if swapcontext is used in a signal handler running on an altstack, new in linux commit 2a74213838104a41588d86fd5e8d344972891ace Szabolcs Nagy1-0/+2
2016-08-30add UDP_ENCAP_GTP0, UDP_ENCAP_GTP1U from linux v4.7 to netinet/udp.h•••for GPRS tunneling protocol, new in linux commit 459aa660eb1d8ce67080da1983bb81d716aa5a69 Szabolcs Nagy1-0/+2
2016-08-30add PF_QIPCRTR, AF_QIPCRTR from linux v4.7 to sys/socket.h•••macros for qualcom ip router protocol, new in linux commit bdabad3e363d825ddf9679dd431cca0b2c30f881 Szabolcs Nagy1-1/+3
2016-08-11fix pread/pwrite syscall calling convention on sh•••despite sh not generally using register-pair alignment for 64-bit syscall arguments, there are arch-specific versions of the syscall entry points for pread and pwrite which include a dummy argument for alignment before the 64-bit offset argument. Rich Felker4-2/+7
2016-07-13revert unrelated change that slipped into last commitRich Felker1-1/+1
2016-07-13fix regression in tcsetattr on all mips archs•••revert commit 8c316e9e49d37ad92c2e7493e16166a2afca419f. it was wrong and does not match how the kernel API works. Rich Felker4-10/+10
2016-07-07fix asctime day/month names not to vary by locale•••the FIXME comment here was overlooked at the time locale support was added. Rich Felker1-5/+4
2016-07-06remove obsolete and unused gethostbyaddr implementation•••this code was already under #if 0, but could be confusing if a reader didn't notice that, and it's almost surely full of bugs and/or inconsistencies with the current code that uses the gethostbyname2_r backend. Rich Felker1-52/+0
2016-07-06remove obsolete gitignore rules•••Since commit 2f853dd6b9a95d5b13ee8f9df762125e0588df5d, all generated headers are generated under the obj directory, which is already ignored. Bobby Bingham1-2/+0
2016-07-06remove or1k version of sem.h•••It's identical to the generic version, after evaluating the endian preprocessor checks in the generic version. Bobby Bingham1-11/+0
2016-07-05release 1.1.15Rich Felker2-1/+40