summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2003-10-18Peter Kjellerstedt writes:Eric Andersen
install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
2003-10-18Implement putgrent to make Peter S. Mazing happyEric Andersen
2003-10-17Doh!!!Eric Andersen
2003-10-16Do not set errno when they asked for size 0Eric Andersen
2003-10-16Code formatting cleanup.Miles Bader
2003-10-16Don't set errno if for zero SIZE returns.Miles Bader
Code formatting cleanup.
2003-10-15Patch from Tony J. White:Eric Andersen
I've created a patch for adding dn_expand() to uClibc 0.9.21. dn_expand() is used by at least ipsec-tools and also openldap I think.
2003-10-14Microblaze port from the uClinux-dist,David McCullough
contributed by John Williams <jwilliams@itee.uq.edu.au>
2003-10-12Don't make two copiesEric Andersen
2003-10-12Sigh. It seems that csh wants glob_pattern_p(), we need toEric Andersen
export it,
2003-10-10Implement getgrgid_r and getgrnam_r. Rework group handling code to be fullyEric Andersen
reentrant, since there was still a shared static value. indent stuff,
2003-10-09Patch from Rob McMullen:Eric Andersen
Here's a patch... Since they aren't SUSv3 functions, I don't know if they'll ever get officially added, but it helps with BSD porting and allows quite a few Gentoo ebuilds to compile without changing anything. Rob
2003-10-08Atsushi Nemoto writes:Eric Andersen
I found inappropriate data types are used in some places in networking codes. * tcp_seq is 32bit (u_long -> u_int32_t) * in_addt_t should be used for internet address (unsigned long -> in_addr_t) * socklen_t should be used for accept() This is a patch against uclibc-0.9.21 (can be applied for current CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I believe this patch does not harm any 32bit platforms.
2003-10-08Patch from Atsushi Nemoto (with some additions):Eric Andersen
Current uClibc contains only one fpu_control.h and it is i386 version. This is a patch to use platform specific fpu_control.h. All new files come from glibc 2.3.2. This patch is against 0.9.21 but also can be applied to CVS as is.
2003-10-08Apply a trivial patch that doesn't change anything, but which is alledged toEric Andersen
workaround a toolchain specifi bug for the e1.
2003-10-08Patch from George Thanos adding support for the "e1" architecture.Eric Andersen
2003-10-03Quick implementation of sigwait. Doesn't handle thread cancelationEric Andersen
yet, but should work...
2003-09-24Hm. Keep using crt0.c for now. My fever-hack of crt0.S didn't do theTobias Anderberg
expected thing. A so called "D'oh!".
2003-09-23Quick fix to make sure vfprintf always checks stream orientation whenManuel Novoa III
wchar support is enabled.
2003-09-22More fiddling with static free-areas: make sure both their size _and_Miles Bader
their alignment are correct.
2003-09-22Modify _stdio_READ to conform with C99, as stdio input behavior uponManuel Novoa III
encountering EOF changed with Defect Report #141. In the current standard, the stream's EOF indicator is "sticky". Once it is set, all further input from the stream should fail until the application explicitly clears the EOF indicator (clearerr(), file positioning), even if more data becomes available. Fixed a bug in fgets. Wasn't checking for read errors. Minor thread locking optimizations to avoid some unnecessary locking. Remove the explicit calls to __builtin_* funcs, as we really need to implement a more general solution.
2003-09-22Ugh... EOF handling by scanf was completely broken. :-( Regretably,Manuel Novoa III
I got my mind fixed in one mode and didn't comply with the standards. Things should be fixed now, but comparision testing is difficult when glibc's scanf is broken and they stubbornly refuse to even acknowledge that it is... even when confronted by specific examples from the C99 standards and from an official C standard defect report.
2003-09-21Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III
2003-09-19Added assembler version of startup code. Fix Makefile so it uses the newTobias Anderberg
code.
2003-09-19Make sure we don't allocate too little space for static free-areasMiles Bader
because of our fiddling with alignment (because doing so is VERY BAD).
2003-09-19Add dependencies on header files.Miles Bader
2003-09-17Make sure static heaps are aligned correctly.Miles Bader
2003-09-17Fix fcntl64 when UCLIBC_HAS_LFS is enabled, but __NR_fcntl64Eric Andersen
is not defined.
2003-09-16This should enabled building of uClibc locale support when using uClibc itself.Manuel Novoa III
Sorry I didn't test this before the release. Please remember that the locale data generation tools are not very robust, so doing something like disabling 8-bit codeset support is likely to break things. As it stands, UTF-8 support is required, but I'm not sure I test for that. Also, you will notice a difference in the locale data generated by uClibc verses glibc. That's because the bg_BG locale specifies use of grouping in LC_NUMERIC, but supplies no grouping char. The uClibc locale code tests for and works around this (at the moment) by disabling grouping. But the result is slightly different data which ripples throughout the rest of the tables.
2003-09-13Fix a problem reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>Manuel Novoa III
for environments where long and long long are the same size.
2003-09-11Patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp> to do arch-requiredManuel Novoa III
mapping of signal strings (alpha, mips, hppa, sparc).
2003-09-11Peter Kjellerstedt writes:Eric Andersen
The attached patch allows $(CC) to contain spaces (something which we use).
2003-09-09Make sure that __syscall_fcntl is extern when LFSEric Andersen
is disabled
2003-09-09Fix wctype.c so that wchar can be enabled without ctype table-based functions.Manuel Novoa III
2003-09-08Oops! I broke pread on mips with my last update. ThisEric Andersen
fixes it again so it both compiles and works, -Erik
2003-09-08Fix a trivial compile problemEric Andersen
2003-09-08Signifcantly speed out integer to string conversion for printf.Manuel Novoa III
Printf still needs some performance work done though. Also some bufferless stdio cleanups.
2003-09-08Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III
static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
2003-09-08Use __libc_fork for the uClinux fork stubEric Andersen
2003-09-08mjn3 pointed out that my brain was not in gear....Eric Andersen
2003-09-07A few minor syscall cleanupsEric Andersen
2003-09-07Some updates from glibc. mjn3 reports this fixes profilingEric Andersen
on i386, at least, so seems like a good thing.
2003-09-07i386/mcount.S expects to call __mcount_internal with the 2 args passedManuel Novoa III
in registers. NOTE: i386/mcount.S really needs to be rewritten. It currently won't work for non-PIC builds.
2003-09-07Remove profil.c, since it is constained within gmon.c.Manuel Novoa III
2003-09-07Fix some more problems found by the ltpEric Andersen
2003-09-06'extern inline' doesn't work... Use 'static inline'Eric Andersen
2003-09-06add missing prototypeEric Andersen
2003-09-06Add an implementation of profil(), based on the version fromEric Andersen
glibc, with several changes for use in uClibc.
2003-09-06Fix numerous problems with both getcwd implementations.Eric Andersen
-Erik
2003-09-06Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,Eric Andersen
which was reversed. Provide more consistancy between implementations. Handle it when people do stupid things like malloc(-1);