summaryrefslogtreecommitdiffstats
path: root/libc/misc/assert/__assert.c
Commit message (Collapse)AuthorAgeFilesLines
* __assert: include unistd.h for smallintBernhard Reutner-Fischer2009-11-201-2/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* assert: make linenumber unsignedPeter S. Mazinger2009-11-191-4/+3
| | | | | | | Move attribute_noreturn to header. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-3/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-1/+1
| | | | | Appears to build fine (several .configs tried)
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-1/+1
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-1/+1
| | | | | | | | | | | | | | - 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
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-221-1/+0
| | | | _ISOC99/XOPEN_SOURCE
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-1/+0
| | | | most of global data relocations are back
* Patch by Joseph S. Myers to add support for ARM EABIMike Frysinger2006-01-291-0/+3
|
* Mark __assert as noreturnPeter S. Mazinger2006-01-231-1/+1
|
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+1
| | | | gone from libc. The remaining are left as exercise for others ;-)
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-0/+3
| | | | missing headers, other jump relocs removed
* tweak __progname handling some more since some [bad] apps actually try and ↵Mike Frysinger2006-01-041-5/+1
| | | | use it
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-111-31/+2
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Prevent runaway asserts, which can happen if there's a problem withManuel Novoa III2004-01-171-9/+15
| | | | stdio or locales.
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
* ANSI/ISO C99 requires assert() to write to stderr. This means thatManuel Novoa III2002-10-281-0/+35
| | | | | | | | writing to STDERR_FILENO is insufficient, as the user could freopen stderr. It is also insufficient to output to fileno(stderr) since this would fail in the custom stream case. I didn't remove the old code though, as it doesn't use stdio stream functionality and is useful in debugging the stdio code.
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-031-1/+1
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Swap in the new stdio code.Manuel Novoa III2002-03-121-39/+42
|
* A number of updates from Manuel Novoa III. Things look good...Eric Andersen2000-12-201-2/+17
|
* Update to assert behaviorEric Andersen2000-10-171-6/+9
|
* New misc tree that actually has misc stuff in it.Eric Andersen2000-10-111-0/+31