summaryrefslogtreecommitdiffstats
path: root/libc/misc
Commit message (Collapse)AuthorAgeFilesLines
...
* optimize signal mask ops. comment out "impossible" errorsDenis Vlasenko2008-12-011-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | text data bss dec hex filename - 1179 13 2 1194 4aa libc/misc/syslog/syslog.o + 1165 13 2 1180 49c libc/misc/syslog/syslog.o - 435 4 0 439 1b7 libc/pwd_grp/lckpwdf.o + 393 4 0 397 18d libc/pwd_grp/lckpwdf.o - 38 0 0 38 26 libc/signal/sigandset.o + 32 0 0 32 20 libc/signal/sigandset.o - 63 0 0 63 3f libc/signal/sigblock.o + 56 0 0 56 38 libc/signal/sigblock.o - 22 0 0 22 16 libc/signal/sigempty.o + 20 0 0 20 14 libc/signal/sigempty.o - 25 0 0 25 19 libc/signal/sigfillset.o + 20 0 0 20 14 libc/signal/sigfillset.o - 34 0 0 34 22 libc/signal/sigisempty.o + 16 0 0 16 10 libc/signal/sigisempty.o - 38 0 0 38 26 libc/signal/sigorset.o + 32 0 0 32 20 libc/signal/sigorset.o - 119 0 0 119 77 libc/signal/sigpause.o + 113 0 0 113 71 libc/signal/sigpause.o - 215 0 0 215 d7 libc/signal/sigset.o + 211 0 0 211 d3 libc/signal/sigset.o - 63 0 0 63 3f libc/signal/sigsetmask.o + 56 0 0 56 38 libc/signal/sigsetmask.o - 194 0 1 195 c3 libc/stdlib/abort.o + 183 0 1 184 b8 libc/stdlib/abort.o - 323 0 0 323 143 libc/unistd/sleep.o + 309 0 0 309 135 libc/unistd/sleep.o
* random: use smaller data fields where appropriateDenis Vlasenko2008-12-011-1/+1
| | | | | | | | | text data bss dec hex filename - 130 156 0 286 11e libc/stdlib/random.o + 130 148 0 278 116 libc/stdlib/random.o - 586 0 0 586 24a libc/stdlib/random_r.o + 570 0 0 570 23a libc/stdlib/random_r.o
* fix improperly hidden fwprintf.Denis Vlasenko2008-11-291-12/+2
| | | | | | | | | make two data objects static. text data bss dec hex filename - 274779 1835 19012 295626 482ca lib/libuClibc-0.9.30-svn.so + 274693 1835 19012 295540 48274 lib/libuClibc-0.9.30-svn.so
* - make isascii visible againBernhard Reutner-Fischer2008-11-271-2/+2
| | | | TODO: *_l() should go
* - revert 24148:24151Bernhard Reutner-Fischer2008-11-261-10/+7
|
* libc/string: need additional work to remove libc_hidden_proto's properlyDenis Vlasenko2008-11-261-2/+2
|
* - hide some time related relocsBernhard Reutner-Fischer2008-11-251-7/+10
|
* - hide __libc_{f,}statfs. Thanks to Peter S. Mazinger for mentioning this fact.Bernhard Reutner-Fischer2008-11-254-4/+0
|
* - cosmetic tidy up of clean targetBernhard Reutner-Fischer2008-11-251-3/+3
|
* - make sure isspace() is exported.Bernhard Reutner-Fischer2008-11-251-3/+6
| | | | Thanks to Skinkie for noticing.
* fix some unneeded PLT referencesDenis Vlasenko2008-11-221-1/+4
|
* fix apparent typo (unnoticed for long time, probablyDenis Vlasenko2008-11-211-1/+1
| | | | | because it didn't affect little endian arches)
* deal with TODOs left over from libc_hidden_proto removalDenis Vlasenko2008-11-212-9/+4
| | | | | (fixes build with locale enabled)
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-2051-261/+269
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-2031-70/+70
|
* Changed Copyright and License statement according to COPYING.LIB.boilerplateCarmelo Amoroso2008-11-181-21/+12
|
* Changed Copyright and License statement according to COPYING.LIB.boilerplateCarmelo Amoroso2008-11-181-19/+11
|
* Fix typo: missing )Carmelo Amoroso2008-11-181-1/+1
|
* Move _dl_iterate_phdr into libc.so.0 and libc.a (as glibc does).Carmelo Amoroso2008-11-187-3/+188
| | | | | | Currently we have an implementation in ld.so and libdl.a. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-1812-40/+40
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-1818-20/+20
|
* - cleanup {,f}stat{,v}fs{,64} relocsBernhard Reutner-Fischer2008-11-164-8/+14
|
* - less verbose make cleanBernhard Reutner-Fischer2008-11-0724-96/+96
|
* trivial code shrink by making some strings staticDenis Vlasenko2008-11-011-1/+2
| | | | | | | | | text data bss dec hex filename - 259 0 0 259 103 libc/inet/herror.o + 243 0 0 243 f3 libc/inet/herror.o - 720 0 0 720 2d0 libc/inet/ns_name.o + 710 0 0 710 2c6 libc/inet/ns_name.o
* - whitespace fixesBernhard Reutner-Fischer2008-10-311-19/+19
|
* - remove superfluous ';'. No objcode changes.Bernhard Reutner-Fischer2008-10-224-9/+9
|
* - sync fix for scandir errno handling to scandir64 (r23600)Bernhard Reutner-Fischer2008-10-182-17/+28
| | | | Thanks to Peter S. Mazinger for mentioning this.
* Fix scandir function to reset the errno when the Carmelo Amoroso2008-10-061-2/+16
| | | | | | | | | | | selector returns zero(no entries) modifying the errno. The attached test case implements a dummy filter that returns alway no entries, but change the errno. scandir is not expected to fail, just returning 0 entries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - sync obstack.{c,h} with glibc (Peter S. Mazinger)Bernhard Reutner-Fischer2008-10-061-299/+123
|
* - use c89-style commentsBernhard Reutner-Fischer2008-10-031-1/+1
| | | | Closes issue #5194
* - remove some duplicate includesBernhard Reutner-Fischer2008-09-301-4/+2
|
* i18n: Fix mbrtowc function to handle 0xc0 and 0xc1 sequence.Carmelo Amoroso2008-09-291-1/+2
| | | | | | | | | | When the first byte of the multibyte sequence start with 0xc0 or 0xc1, the whole sequence is invalid, so the return value must be -1 (instead of -2). Fix bug #686. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Acked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - cast both times to double for consistencyBernhard Reutner-Fischer2008-09-251-1/+1
|
* - disable gettext support in obstack.Bernhard Reutner-Fischer2008-09-251-3/+3
| | | | | In function `print_and_abort': obstack.c:(.text.print_and_abort+0x1b): undefined reference to `__dcgettext'
* - add missing hidden_defBernhard Reutner-Fischer2008-09-251-0/+2
|
* - Fix arguments to compare function. Closes #1081Bernhard Reutner-Fischer2008-09-241-1/+1
|
* - fix for r23427. Thanks to psm for mentioning this and sorry for the breakageBernhard Reutner-Fischer2008-09-191-7/+7
|
* - remove non stdc path (old style definitions). No obj-code changesBernhard Reutner-Fischer2008-09-182-255/+214
|
* - exec_comm_child can not return everBernhard Reutner-Fischer2008-09-181-1/+1
|
* - fix typoBernhard Reutner-Fischer2008-09-111-1/+1
|
* Fix some locale multibyte tests failures ad below:Carmelo Amoroso2008-09-091-2/+8
| | | | | | | | | | | libc/stdlib/_strtod.c -> tst_wcstod; libc/stdlib/stdlib.c -> tst_mblen, tst_mbtowc, tst_wctomb; libc/stdio/_scanf.c -> tst_swscanf; libc/string/strncmp.c -> tst_wcsncmp; libc/misc/wchar/wchar.c -> tst_mbrlen, tst_mbrtowc, tst_wcswidth. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Revert latest changes. Instead of applying this work-aroundCarmelo Amoroso2008-09-091-2/+1
| | | | | | | a proper fix should ensure that statically linked mutli-threaded binaries take always the proper locking implementation. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - remove a couple of duplicate includesBernhard Reutner-Fischer2008-08-274-6/+0
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-2320-229/+229
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-239-21/+21
|
* - improve UCLIBC_LINUX_SPECIFICBernhard Reutner-Fischer2008-07-144-5/+52
| | | | | compile-tested only, fixes libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function)
* if argv[0] is NULL, dont try to parse it and subsequently crash ... found by ↵Mike Frysinger2008-06-271-6/+8
| | | | running execve05 ltp test on blackfin ([#4194])
* Revert revision 19347, plus libc_hidden_proto for __uc_malloc.Bernd Schmidt2008-06-123-13/+9
| | | | | Some of the code is functionally identical before and after, but for now I'm just mechanically reverting the entire mess.
* Revert revision 19345 plus libc_hidden_proto for __uc_malloc.Bernd Schmidt2008-06-121-9/+4
|
* Fix hard-to-rigger locking bug in vsyslog():Denis Vlasenko2008-06-061-9/+13
| | | | | | | | | | | | | SIGPIPE handler was attempting to re-acquire an already taken lock. While at it, stop checking for sigaction failure which is not possible here. Sizes: text data bss dec hex filename - 1123 13 2 1138 472 libc/misc/syslog/syslog.o + 1112 13 2 1127 467 libc/misc/syslog/syslog.o Run tested.