summaryrefslogtreecommitdiffstats
path: root/libc/misc/wchar
Commit message (Collapse)AuthorAgeFilesLines
* wchar: bug #1471: fix cornercase in mbrtowcBernhard Reutner-Fischer2010-11-241-0/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* prettify make cleanBernhard Reutner-Fischer2010-03-251-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* wchar.c: fix indentationDenys Vlasenko2010-01-241-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-20/+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>
* fix make {,install_}{,host}utilsBernhard Reutner-Fischer2009-09-181-209/+46
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-171-0/+2
| | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* wchar: fix inverted parameters in error messageAndré Goddard Rosa2009-06-281-1/+1
| | | | | | | | | | The error message should output "fromcode -> tocode" rather than "tocode -> fromcode". Seems to be a typo due to the order of the func called: iconv_t iconv_open(const char *tocode, const char *fromcode); Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* "make utils" now successfully makes utils for targetDenis Vlasenko2009-01-281-1/+1
|
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis Vlasenko2009-01-211-9/+9
| | | | | | | | | | | | | | | | | | | is always equivalent to __UCLIBC_CURLOCALE->x. remove typedef __uclibc_locale_t, it used only in a few places, it is lees confusing to use struct __uclibc_locale_struct everywhere. xlocale.h: hide __global_locale back under _LIBC, bug 53 is wrong in claiming it should be exported. Also hide under _LIBC: extern __locale_t __curlocale_var; extern __locale_t __curlocale(void); extern __locale_t __curlocale_set(__locale_t newloc); # define __UCLIBC_CURLOCALE # define __XL_NPP(N) # define __LOCALE_PARAM # define __LOCALE_ARG # define __LOCALE_PTR
* more of pointer signedness warnings removedDenis Vlasenko2008-12-211-10/+10
|
* Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso2008-12-021-0/+7
| | | | | | | | | | while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* 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-211-3/+3
| | | | | (fixes build with locale enabled)
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-20/+22
| | | | | Appears to build fine (several .configs tried)
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-4/+4
|
* 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>
* 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>
* - remove a couple of duplicate includesBernhard Reutner-Fischer2008-08-271-3/+0
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-103/+103
|
* This fixes a problem with the move of libc_hidden_proto to string.h.Bernd Schmidt2008-06-041-1/+0
| | | | | | | | | | | | | 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>.
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | 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.
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-2/+1
| | | | I had clearly run search/replace on that were cluttering things up.
* select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger2006-03-231-0/+1
| | | | defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
* 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-3/+0
| | | | most of global data relocations are back
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-131-23/+12
| | | | 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
* Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵Peter S. Mazinger2006-02-1315-0/+120
| | | | affected files
* Remove unused filePeter S. Mazinger2006-02-131-457/+0
|
* global data uses libc_hidden_data_def, convert all -I hope- and add some newPeter S. Mazinger2006-02-011-1/+1
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-222-2/+0
| | | | is a useless attempt
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+6
| | | | gone from libc. The remaining are left as exercise for others ;-)
* make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger2006-01-151-8/+3
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-10/+11
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-143-60/+84
| | | | missing headers, other jump relocs removed
* forgot again about iconvPeter S. Mazinger2006-01-051-1/+1
|
* use internal versions of exit/memcpyPeter S. Mazinger2006-01-041-1/+1
|
* Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger2005-12-161-8/+2
| | | | of __attribute__ ...
* memmove, exit are external iconv_mainPeter S. Mazinger2005-12-161-2/+2
|
* New regex as wellPeter S. Mazinger2005-12-161-1/+2
|
* Hide C and wchar related stuffPeter S. Mazinger2005-12-162-3/+3
|
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-0/+1
|
* Remove fread/fwrite/vfprintf redefines, the only user is iconv, being an ↵Peter S. Mazinger2005-12-101-4/+0
| | | | external app
* Remove trailing ';' from strong_alias, thx Bernhard FischerPeter S. Mazinger2005-12-101-4/+4
|
* Switch fread/fwrite/fclose/pipe/sigsetmask usersPeter S. Mazinger2005-12-101-0/+2
|
* Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger2005-12-091-0/+2
|
* Hide morePeter S. Mazinger2005-12-071-0/+1
|
* Correct typo, iconv binary does not use the internal versionsPeter S. Mazinger2005-12-061-2/+2
|
* Make use internal str*casecmp/wcscollPeter S. Mazinger2005-12-061-2/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-4/+2
|
* Hiding againPeter S. Mazinger2005-11-292-14/+20
|