| Commit message (Expand) | Author | Files | Lines |
| 2012-08-15 | add missing xattr functions•••not sure why these were originally omitted..
| Rich Felker | 2 | -0/+18 |
| 2012-08-15 | update copyright/credits for recent code additions | Rich Felker | 1 | -2/+12 |
| 2012-08-14 | support configuring cross compiling with CROSS_COMPILE prefix variable | Rich Felker | 1 | -3/+6 |
| 2012-08-13 | math: fix _BSD_SOURCE namespace in math.h | nsz | 1 | -25/+26 |
| 2012-08-13 | remove significandl•••this function never existed historically; since the float/double
functions it's based on are nonstandard and deprecated, there's really
no justification for its existence except that glibc has it. it can be
added back if there's ever really a need...
| Rich Felker | 2 | -8/+0 |
| 2012-08-13 | add significand[fl] math functions | Rich Felker | 4 | -0/+25 |
| 2012-08-13 | publicly expose getdents api under _BSD_SOURCE | Rich Felker | 1 | -0/+7 |
| 2012-08-11 | memcpy asm for i386 and x86_64 | Rich Felker | 2 | -0/+51 |
| 2012-08-11 | avoid need for -march=mips2 to compile mips atomic.h asm•••linux guarantees ll/sc are always available. on mips1, they will be
emulated by the kernel. thus they are part of the linux mips1 abi and
safe to use.
| Rich Felker | 1 | -0/+8 |
| 2012-08-11 | remove unused but buggy code from strstr.c | Rich Felker | 1 | -10/+0 |
| 2012-08-11 | remove buggy short-string wcsstr implementation; always use twoway•••since this interface is rarely used, it's probably best to lean
towards keeping code size down anyway. one-character needles will
still be found immediately by the initial wcschr call anyway.
| Rich Felker | 1 | -9/+0 |
| 2012-08-11 | add bsd fgetln function•••optimized to avoid allocation and return lines directly out of the
stream buffer whenever possible.
| Rich Felker | 4 | -1/+25 |
| 2012-08-10 | minor but worthwhile optimization in printf: avoid expensive strspn•••the strspn call was made for every format specifier and end-of-string,
even though the expected return value was 1-2 for normal usage.
replace with simple loop.
| Rich Felker | 1 | -4/+2 |
| 2012-08-10 | trivial optimization to printf: avoid wasted call frame•••amusingly, this cuts more than 10% off the run time of printf("a"); on
the machine i tested it on.
sadly the same optimization is not possible for snprintf without
duplicating all the pseudo-FILE setup code, which is not worth it.
| Rich Felker | 1 | -1/+1 |
| 2012-08-10 | use int instead of long for ptrdiff_t on all 32-bit archs•••this is needed to match the underlying "ABI" standards. it's not
really an ABI issue since the binary representations are the same, but
having the wrong type can lead to errors when the type arising from a
difference-of-pointers expression does not match the defined type of
ptrdiff_t. most of the problems affect C++, not C.
| Rich Felker | 2 | -2/+2 |
| 2012-08-10 | fix incorrect ptrdiff_t type on mips | Rich Felker | 1 | -1/+1 |
| 2012-08-10 | add blowfish hash support to crypt•••there are still some discussions going on about tweaking the code, but
at least thing brings us to the point of having something working in
the repository. hopefully the remaining major hashes (md5,sha) will
follow soon.
| Rich Felker | 3 | -8/+806 |
| 2012-08-09 | fix (hopefully) all hard-coded 8's for kernel sigset_t size•••some minor changes to how hard-coded sets for thread-related purposes
are handled were also needed, since the old object sizes were not
necessarily sufficient. things have gotten a bit ugly in this area,
and i think a cleanup is in order at some point, but for now the goal
is just to get the code working on all supported archs including mips,
which was badly broken by linux rejecting syscalls with the wrong
sigset_t size.
| Rich Felker | 14 | -20/+31 |
| 2012-08-09 | add defines for number of sigset_t bytes syscalls expect•••yet another gratuitous mips incompatibility...
| Rich Felker | 4 | -0/+8 |
| 2012-08-09 | make crypt return an unmatchable hash rather than NULL on failure•••unfortunately, a large portion of programs which call crypt are not
prepared for its failure and do not check that the return value is
non-null before using it. thus, always "succeeding" but giving an
unmatchable hash is reportedly a better behavior than failing on
error.
it was suggested that we could do this the same way as other
implementations and put the null-to-unmatchable translation in the
wrapper rather than the individual crypt modules like crypt_des, but
when i tried to do it, i found it was making the logic in __crypt_r
for keeping track of which hash type we're working with and whether it
succeeded or failed much more complex, and potentially error-prone.
the way i'm doing it now seems to have essentially zero cost, anyway.
| Rich Felker | 1 | -5/+2 |
| 2012-08-08 | math: fix exp.s on i386 and x86_64 so the exception flags are correct•••exp(inf), exp(-inf), exp(nan) used to raise wrong flags
| nsz | 2 | -40/+35 |
| 2012-08-07 | further fixes for mips ioctl.h header•••untested; hopefully it's right now
| Rich Felker | 1 | -4/+4 |
| 2012-08-07 | fix another mips gratuitous-incompatibility bug: ioctl numbers | Rich Felker | 1 | -2/+2 |
| 2012-08-07 | fix bug dlsym bug that slipped in during dynamic linker cleanup | Rich Felker | 1 | -1/+1 |
| 2012-08-05 | make configure accept mipsel | Rich Felker | 1 | -1/+1 |