summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
2014-02-07don't lie about function signatures.christos
2014-02-02Sort errors. Bump date for previous.wiz
2014-02-02Bump date for previous.wiz
2014-02-02Remove paranthesis from return operands.martin
2014-02-02Limit the amount of kernel memory a posix_spawn syscall can use (for handlingmartin
the file action list) by limiting the maximum number of file actions to twice the current file descriptor limit. Fix a few bugs in the support functions and document the new limit. From Maxime Villard.
2014-01-30Provide a simple floatunditf implementation, at least mips64 needs one.joerg
2014-01-16"soon" is "now". Remove all __indr_reference crap.christos
2014-01-16Add the {v,}{err,warn}c flavors, from FreeBSD.christos
2013-12-19Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.rmind
They are implemented using tmpfs (mounted at /var/shm). Discussed on tech-{kern,userlevel} (quite a while ago).
2013-11-29Add fabsl alias if necessary.joerg
2013-11-23Fix very stupid typomartin
2013-11-21Make ext_fraclm and ext_frachm parts of the long double mantissa optionalmartin
in generic code
2013-10-17remove always inline because new gcc bitches.christos
2013-09-05Avoid strict-alias problem flagged by certain compilers (e.g. Centos one):pooka
libc/gen/utmpx.c:89: error: dereferencing pointer 'otv' does break strict-aliasing rules reviewed by Christos (thanks!)
2013-08-23Add __floatunsi{sd}f for IEEE754.matt
Unlike the quad versions, these don't use floating point.
2013-08-19Remove most LC_CTYPE specific parts of locale.cache.joerg
2013-07-20Use Mt for email addresses.wiz
2013-06-30Strings are NUL-terminated, not NULL-terminated.wiz
2013-06-30Rearrange to make lint deal with it (to unbreak the build).martin
Someone please (1) fix lint and then (2) back this out ;-)
2013-06-30When opening a ttys files, try path.<machine> first. This helpsmatt
machine archs which have multiple ttys files (arm, mips, powerpc, m68k, sh3)
2013-05-24More markup. Merge two error entries for the same error.wiz
2013-05-24Update ERRORS section:enami
- Remove some system calls from the list of functions which may set errno during the execution of realpath(3) since they are no longer used to implement it. - Document some errno set by the realpath(3) itself.
2013-05-17Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.joerg
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions. Merge constant data used by the initial global locale and the C locale. Drop function call layer for _current_locale() and directly return the locale reference, not a pointer to it. Use protected access for global variables, so that libc references can avoid the GOT overhead.
2013-04-30Include softfloat-for-gcc.h for __ARM_EABI__ to get aeabi aliases.matt
2013-04-16Add isalpha_l and friends.joerg
2013-04-13Extend ctype classification table to 16bit. Based on patch byjoerg
Takehiko Nozaki, with changes to compile fail when using the old names and to exploit __BUILD_LEGACY
2013-04-13Use more consistent naming for tolower/toupper translation table for thejoerg
C locale. From Takehiko Nozaki with changes to use __BUILD_LEGACY.
2013-03-20Use "unsigned FOO" instead of less-portable "u_FOO".lukem
2013-03-06wrap a long lineyamt
2013-03-06remove unnecessary castsyamt
2013-03-05- Refer the argument with correct name.enami
- Mark up the function as a function like rest of this paragraph does.
2013-03-05a sequel to getcwd.c revision 1.52 and realpath.3 revision 1.13 by christos:soda
explicitly mention that NULL is allowed as second argument in the description part as well. PR/46618: Onno van der Linden: realpath(3) isn't SUSv4 compliant (and causes flactag 2.0.4 to dump core). Fix to accept a NULL argument for resolvedpath.
2013-02-21remove code that did special handling for . and .. at the end of the path.christos
From mouse@
2013-02-21No ctassert in tool buildjoerg
2013-02-20Minor nits, and make it compile in FreeBSD (NBBY needs sys/params.h)christos
2013-02-20we don't have multibyte.3 (yet)christos
2013-02-20Don't declare a variable inside a "for" construct because it breaks thetron
tool build which doesn't use C99.
2013-02-20Sort SEE ALSO.wiz
XXX: multibyte(3) is dangling.
2013-02-20Make the masks 64 bit wide so that they fit 6 character wide conversions.christos
Explain what's wrong with MB_LEN_MAX currently.
2013-02-20Initialize 'clen' to 0, to avoid "may be used uninitialized" warning.riz
2013-02-20Fix whitespacechristos
2013-02-20More fixes from J.R. Oldroyd. We introduce a new function that canchristos
retrieve and return if there has been a conversion error, so that it can keep performing char-by-char processing if a multi-byte conversion occurred. Also some more code cleanups in the "extra" processing.
2013-02-15More fixes from: J.R. Oldroydchristos
- The input loop control that I changed yesterday to: while (mbslength >= 0) { There are circumstances where this causes an extra \000 to be added at the end of some tests. This error was showing in my own tests here, but I did not notice it yesterday. (I really need to add my tests to the test suite, catching every error by eye is hard.) To fix, I've now changed the code to increment mbslength only if mbslength == 1 to start with. (Note that this check for "== 1" is why the arg to strvisx() in vis(1) must be 1, not mbilen.) - The cast sequence when manually inserting bytes after a multibyte conversion error: *src = (wint_t)(u_char)*mbsrc; is wrong. This is causing problems in the case when an 8859-1 input string is processed in the UTF-8 locale. It needs to be: *src = (wint_t)*mbsrc; Without the (u_char) all the locale mismatch combinations then work. - The code: if (mblength < len) len = mblength; needs to be there. It resets len for the single character input case after we've actually processed two input characters (c and nextc) because we incremented mbslength at the start of the loop. Without this code, single character conversions end up with a \000 or other byte appended.
2013-02-14off by one.christos
2013-02-13Mark up LC_CTYPE as environment variable.wiz
2013-02-13remove patch botches.christos
2013-02-13multi-byte doc from J.R. Oldroydchristos
2013-02-13Fix from J.R. Oldroyd for wide chars > 2christos
2013-02-13Handle invalid character sequences.christos
2013-02-13Match prototype with reality to fix tool build on platforms wherepooka
wint_t != int.