Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-12 | Revert revision 19347, plus libc_hidden_proto for __uc_malloc. | Bernd Schmidt | |
Some of the code is functionally identical before and after, but for now I'm just mechanically reverting the entire mess. | |||
2008-06-04 | This fixes a problem with the move of libc_hidden_proto to string.h. | Bernd Schmidt | |
The obsolete functions bcopy, index, etc. are not supposed to be used within uClibc itself. Hence, there is no libc_hidden_def for them, but the previous patch did not just move libc_hidden_protos, it also added new ones for the legacy functions. As a result, programs which use these functions can no longer link with uClibc. This fixes it by removing the unnecessary libc_hidden_protos. I've also removed all inclusions of <strings.h> from uClibc source files: since we define _GNU_SOURCE, it is sufficient to include <string.h>. We then do not need to duplicate the libc_hidden_proto block in <strings.h>. | |||
2008-05-30 | - Avoid warning about undefined preprocessor token. No obj-code changes. | Bernhard Reutner-Fischer | |
2008-05-20 | replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe. | Denis Vlasenko | |
2008-05-20 | Introduce and use small[u]int type. Changes in size: | Denis Vlasenko | |
- 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o | |||
2008-05-19 | Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block | Denis Vlasenko | |
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's. | |||
2008-04-12 | Functions should be either exported in public .h files | Denis Vlasenko | |
and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file) | |||
2008-02-12 | add hidden_proto's for __uc_malloc | Denis Vlasenko | |
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>) | |||
2007-07-30 | make regex_old.c, ruserpass.c use __uc_malloc, | Denis Vlasenko | |
replace "buf = malloc(BUFSIZ); if (!buf) abort();" by __uc_malloc elsewhere. With last 7 patches together uclibc has 3k of static data total with fairly big .config and with 2k being used for 2 x BUFSIZ stdio buffer: text data bss dec hex filename 114 132 2048 2294 8f6 _stdio.o (ex lib/libc.a) total data 593 total bss 3062 | |||
2007-02-04 | the sun rpc code has too many alias violations to worry over now; just ↵ | Mike Frysinger | |
disable strict-aliasing until someone gets the balls to clean this stuff up | |||
2007-01-29 | sync some fixes from glibc | Mike Frysinger | |
2007-01-10 | need to keep __check_rhosts_file exported for proper rhost control | Mike Frysinger | |
2006-12-07 | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | |
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking. | |||
2006-12-07 | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | |
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking. | |||
2006-07-05 | fixup my copyright notice, trim stale remnants of older notices which | Eric Andersen | |
I had clearly run search/replace on that were cluttering things up. | |||
2006-06-20 | need hidden proto for rtime() as well | Mike Frysinger | |
2006-06-19 | sync fix fixes from glibc | Mike Frysinger | |
2006-06-19 | dont shadow the socket() function | Mike Frysinger | |
2006-03-24 | Move hidden xdr_rmtcall_args prototype before first use | Peter S. Mazinger | |
2006-03-23 | select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵ | Peter S. Mazinger | |
defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist | |||
2006-03-22 | Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined | Peter S. Mazinger | |
2006-03-22 | Mark some functions as GNU, provide missing hidden memmem, remove ↵ | Peter S. Mazinger | |
_ISOC99/XOPEN_SOURCE | |||
2006-03-10 | Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵ | Peter S. Mazinger | |
most of global data relocations are back | |||
2006-03-09 | Get rid of nested extern warnings if threads are disabled | Peter S. Mazinger | |
2006-03-09 | Add back sjhill's 14625 commit, correcting the typo that made it fail | Peter S. Mazinger | |
2006-02-25 | Remove commented include. | "Steven J. Hill" | |
2006-02-25 | Revert change. Calls can only be used when utilizing TLS. Sorry for the ↵ | "Steven J. Hill" | |
breakage. | |||
2006-02-25 | Use the TSD macros and get rid of warnings. | "Steven J. Hill" | |
2006-02-18 | tweak the idea between having a MMU and actually using it | Mike Frysinger | |
2006-02-15 | hide xdr_u_short | Peter S. Mazinger | |
2006-02-15 | DOMULTI may be used for libc, the excluded files need work, ↵ | Peter S. Mazinger | |
linuxthreads[_db] as well, don't try on slow box | |||
2006-02-13 | libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵ | Peter S. Mazinger | |
libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore | |||
2006-02-01 | weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header ↵ | Peter S. Mazinger | |
issue | |||
2006-01-31 | don't include wchar.h if WCHAR is disabled | Peter S. Mazinger | |
2006-01-30 | Change the only bcopy user to memmove and remove internal version of bcopy | Peter S. Mazinger | |
2006-01-29 | sync with glibc and rename local socket var to _socket | Mike Frysinger | |
2006-01-29 | sync func def with glibc and dont include sys/socket.h since we dont use ↵ | Mike Frysinger | |
socket() | |||
2006-01-29 | sync comment with glibc and dont include sys/socket.h since we dont use socket() | Mike Frysinger | |
2006-01-29 | rename to match glibc | Mike Frysinger | |
2006-01-29 | rename to match glibc | Mike Frysinger | |
2006-01-29 | sync with glibc and rename socket vars to _socket | Mike Frysinger | |
2006-01-29 | sync iruserfopen() prototype with glibc and remove double setting of cp to ↵ | Mike Frysinger | |
NULL by Bernard Fischer | |||
2006-01-29 | Bernhard Fischer writes: remove unused variable __rcmd_errstr | Mike Frysinger | |
2006-01-29 | small sync with glibc | Mike Frysinger | |
2006-01-26 | Get rid of missing prototype warnings | Peter S. Mazinger | |
2006-01-24 | Use wildcard *.c for full rpc, update copyright | Peter S. Mazinger | |
2006-01-24 | s/svc_auth_unix.c/svc_authux.c/ | Peter S. Mazinger | |
2006-01-24 | s/rpc_callmsg.c/rpc_cmsg.c/ for non-full rpc as well | Peter S. Mazinger | |
2006-01-23 | sync with glibc | Mike Frysinger | |
2006-01-23 | Add some attribute_noreturn, replace __attribute__ ((noreturn)) as well | Peter S. Mazinger | |