| 6640fe81 | 09-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc/glob: Fix a -Wstrict-prototypes warning by bringing back an old fix.
It went like this:
* In 2005, joerg fixed this warning in DragonFly (2a6aec8dab58c89961).
* In 2013, this fix was overwrit
libc/glob: Fix a -Wstrict-prototypes warning by bringing back an old fix.
It went like this:
* In 2005, joerg fixed this warning in DragonFly (2a6aec8dab58c89961).
* In 2013, this fix was overwritten without looking with the then still broken version from FreeBSD (0d5acd7467c4e95f79).
* In 2015, joerg submitted the fix to FreeBSD and it was committed as r288098.
This commit applies back FreeBSD's r288098 to our tree. :)
show more ...
|
| a32e3ba6 | 08-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc: Add prototypes for various functions we use in __weak_reference(). |
| 84ebaf33 | 08-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc/stdlib: Fix two -Wunused-parameter warnings. |
| c9cb4430 | 06-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
libc/dmalloc: Adjust for aligned_alloc() changes.
Follow up for d3a54aee8be483132cb76ecb195180d8c3cf9ed4. |
| 9706d23c | 06-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
libc/dmalloc: Fix unused warning for non INVARIANTS. |
| d3a54aee | 03-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
libc/stdlib: Refactor aligned_alloc().
* Lift the restriction from posix_memalign() that alignment should be more or equal to sizeof(void *). * Make aligned_alloc() a weak symbol. * Adjust
libc/stdlib: Refactor aligned_alloc().
* Lift the restriction from posix_memalign() that alignment should be more or equal to sizeof(void *). * Make aligned_alloc() a weak symbol. * Adjust the manpage.
show more ...
|
| 284b4eb2 | 01-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
libc/stdlib: Add __cxa_thread_atexit_impl() hook.
The __cxa_thread_atexit_impl() helper is needed for mainly c++ runtime libraries to support destructors for thread local storage using LIFO. The _th
libc/stdlib: Add __cxa_thread_atexit_impl() hook.
The __cxa_thread_atexit_impl() helper is needed for mainly c++ runtime libraries to support destructors for thread local storage using LIFO. The _thread_finalize() is implemented based on OpenBSD variant with few exceptions: less restrictive destructors calling scheme and c++ runtime preserves implementation details how it orders (or even uses) this libc addition. Based on other BSDs and libsdc++/libc++ code this is least intrusive method to have pthread_exit() hooks in libc runtime. By the looks, in base system nothing was using libstdc++ internal version.
While there, enable __cxa_thread_atexit_impl() usage in gcc80 libstdc++.
show more ...
|
| e0bdab23 | 01-Apr-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
libc/stdlib: Avoid calling destructors in a wrong order.
There is a possibility that dso handle in __cxa_finalize() might be owned by another dso. On exit(3) calling these destructors is pointless. |
| 5dcdf778 | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc: Fix some -Wunused-parameter warnings. |
| ceae3ef4 | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc/libpthread: Add guard to fix redundant __isthreaded declarations. |
| 682302ec | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc/stdio: Remove two redundant prototypes. |
| 6e08a09d | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc/net: Remove some unneeded externs.
Prototypes are in netdb_private.h.
I had forgotten this in a1ff66cb7764cf805b759f2c7bfc51a8a11cf1aa.
Fixes some -Wredundant-decls warnings. |
| 724ac6b9 | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc/db: Add an include guard.
joerg had added one back in 2005 in 871020e7804af32d9a544b48cd250fa4 but it was overwritten 8 years later in another sync with FreeBSD in abd448c3b2d3508465e48d9cfdb16
libc/db: Add an include guard.
joerg had added one back in 2005 in 871020e7804af32d9a544b48cd250fa4 but it was overwritten 8 years later in another sync with FreeBSD in abd448c3b2d3508465e48d9cfdb163ef88fc242e.
This fixes a number of -Wredundant-decls which we'll hopefully enable by default in the future.
show more ...
|
| 042c92ef | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
str{,case}cmp.3: Remove further bcmp(3) references. |
| 67f62fc4 | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
memcmp.3: Remove bcmp(3) reference. |
| 2ef88a27 | 07-Apr-2019 |
Sascha Wildner <saw@online.de> |
libc: Merge bcmp.3 and memcmp.3.
This follows the merge in the code in 83d15e579c5b3b6ab775b345f1d68069. |
| 83d15e57 | 28-Mar-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - make bcmp linux-compatible, add memcmp world - make bcmp linux-compatible
* Make bcmp and memcmp the same. Our bcmp() was returning 0 or 1 (not subtracting the last byte), which is comp
kernel - make bcmp linux-compatible, add memcmp world - make bcmp linux-compatible
* Make bcmp and memcmp the same. Our bcmp() was returning 0 or 1 (not subtracting the last byte), which is compatible with the manual page but it isn't what linux does.
* It also looks like memcmp is sometimes turned into bcmp by the compiler (?), at least when compiling the kernel, so we don't want to break that either.
* Add memcmp to the kernel build, synchronize both memcmp and bcmp from libc.
* This makes our bcmp compatible with linux.
show more ...
|
| 74bcb922 | 26-Mar-2019 |
Sascha Wildner <saw@online.de> |
wait.2: Fix excessive .Dv usage. Use proper markup. |
| 421e68d6 | 18-Mar-2019 |
Matthew Dillon <dillon@apollo.backplane.com> |
libc - Update manual page for wait.2
* Update the manual page for wait.2, properly describing the si_code and si_status fields of the siginfo_t structure to match recent fixes. |
| 265a1428 | 10-Mar-2019 |
Sascha Wildner <saw@online.de> |
Fix some self references in our manual pages. |
| d4155bf4 | 09-Mar-2019 |
Sascha Wildner <saw@online.de> |
Use .Fn for function names in some manual pages. |
| 4a5f69f6 | 09-Mar-2019 |
Sascha Wildner <saw@online.de> |
Fix some section name typos in various manual pages.
While here, fix some other minor issues like starting new sentences on new lines etc. |
| 925dae71 | 01-Mar-2019 |
Sascha Wildner <saw@online.de> |
Adjust various things for the recent brk(2) removal. |
| 04b7d74f | 28-Feb-2019 |
Sascha Wildner <saw@online.de> |
libc: Remove old MLINKS for fpclassify.3.
I forgot to remove them in b6b35a1b4c682b25f983fc039f153dcd04094189.
Reported-by: zrj |
| 36e53ac2 | 24-Feb-2019 |
Sascha Wildner <saw@online.de> |
libc/sysvipc: Remove duplicate include. |