OSDN Git Service
Eric Andersen [Wed, 3 Jul 2002 03:38:10 +0000 (03:38 -0000)]
Make clone work, part 2.
-Erik
Eric Andersen [Wed, 3 Jul 2002 03:23:20 +0000 (03:23 -0000)]
Fix clone so it compiles
-Erik
Eric Andersen [Tue, 2 Jul 2002 09:07:53 +0000 (09:07 -0000)]
Oops. missed a spot
-Erik
Eric Andersen [Tue, 2 Jul 2002 09:05:05 +0000 (09:05 -0000)]
openlog could deadlock when called from vsyslog, so
allow recursive locking,
-Erik
Eric Andersen [Tue, 2 Jul 2002 07:37:16 +0000 (07:37 -0000)]
Disable ldconfig.target for now
-Erik
Eric Andersen [Tue, 2 Jul 2002 06:16:30 +0000 (06:16 -0000)]
Add a bunch of extra pedantic annoyingly strict checks
-Erik
Eric Andersen [Tue, 2 Jul 2002 06:15:23 +0000 (06:15 -0000)]
Resync the install defines
-Erik
Eric Andersen [Tue, 2 Jul 2002 05:45:54 +0000 (05:45 -0000)]
Fixup where locals shadowed globals
-Erik
Eric Andersen [Tue, 2 Jul 2002 05:23:33 +0000 (05:23 -0000)]
fix this header so it behaves itself
-Erik
Eric Andersen [Tue, 2 Jul 2002 05:00:07 +0000 (05:00 -0000)]
Change the default structure of the installed toolchain
-Erik
Eric Andersen [Mon, 1 Jul 2002 16:58:28 +0000 (16:58 -0000)]
Patch from Ronald Wahl <rwa@peppercon.com> -- kill references to
the obsolete PTHREAD_MUTEX_FAST_NP, and change the default mutex
type to adaptive
Eric Andersen [Mon, 1 Jul 2002 16:36:20 +0000 (16:36 -0000)]
This patch, from Ronald Wahl <rwa@peppercon.com>, fixes the
spots where I screwed up and forgot to fix realloc to use
free_unlocked() instead of free(). Thanks Ronald!
Eric Andersen [Wed, 26 Jun 2002 09:10:52 +0000 (09:10 -0000)]
Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>
Eric Andersen [Mon, 24 Jun 2002 18:05:13 +0000 (18:05 -0000)]
Per "Marshall M. Midden" <m4@brecis.com>, remove double
define of _PATH_LOCALE.
Eric Andersen [Sun, 23 Jun 2002 05:18:22 +0000 (05:18 -0000)]
Fixup target util handling
-Erik
Eric Andersen [Sun, 23 Jun 2002 05:14:04 +0000 (05:14 -0000)]
Don't try to compile the target utils unless told to do so.
-Erik
Eric Andersen [Sun, 23 Jun 2002 04:57:20 +0000 (04:57 -0000)]
Rework compiler optimization code to be smarter
-Erik
Eric Andersen [Fri, 21 Jun 2002 21:35:24 +0000 (21:35 -0000)]
Fix spelling
Eric Andersen [Fri, 21 Jun 2002 21:34:44 +0000 (21:34 -0000)]
Fix silly spelling error
Eric Andersen [Fri, 21 Jun 2002 21:32:00 +0000 (21:32 -0000)]
Fix support for 2.0.x linux kernels. Oops.
-Erik
Eric Andersen [Thu, 20 Jun 2002 17:39:11 +0000 (17:39 -0000)]
Fix spelling
Eric Andersen [Thu, 20 Jun 2002 17:29:00 +0000 (17:29 -0000)]
Remove noise
Eric Andersen [Thu, 20 Jun 2002 17:01:51 +0000 (17:01 -0000)]
Last Changelog update
Manuel Novoa III [Thu, 20 Jun 2002 16:49:51 +0000 (16:49 -0000)]
Update my todo list.
Eric Andersen [Thu, 20 Jun 2002 16:27:44 +0000 (16:27 -0000)]
Update my TODO stuff
Eric Andersen [Thu, 20 Jun 2002 16:23:36 +0000 (16:23 -0000)]
Kill this file. Don't need it.
-Erik
Eric Andersen [Thu, 20 Jun 2002 16:22:35 +0000 (16:22 -0000)]
Update the README a bit
-Erik
Eric Andersen [Thu, 20 Jun 2002 16:14:15 +0000 (16:14 -0000)]
Some release notes
-Erik
Eric Andersen [Thu, 20 Jun 2002 15:53:48 +0000 (15:53 -0000)]
Commit the full changelog since the last release
-Erik
Eric Andersen [Thu, 20 Jun 2002 15:48:58 +0000 (15:48 -0000)]
Update the webpage for release
-Erik
Eric Andersen [Thu, 20 Jun 2002 14:35:19 +0000 (14:35 -0000)]
Add support for doing the mmu-less thing
-Erik
Eric Andersen [Thu, 20 Jun 2002 14:28:03 +0000 (14:28 -0000)]
Cleanup the function pointer comparisions
-Erik
Eric Andersen [Thu, 20 Jun 2002 10:29:09 +0000 (10:29 -0000)]
Some Rules cleanups, better gcc-3.1 support.
-Erik
Eric Andersen [Thu, 20 Jun 2002 10:25:10 +0000 (10:25 -0000)]
Fix a bug reported by Michael Weiser <michael@weiser.saale-net.de>
which could cause incorrect invocations of g++. Cleanup a few things.
Add a new --uclibc-ctors flag allowing one to apply ctor/dtor support
to regular C code.
-Erik
Eric Andersen [Thu, 20 Jun 2002 10:19:50 +0000 (10:19 -0000)]
Several test case cleanups
-Erik
Eric Andersen [Thu, 20 Jun 2002 05:22:17 +0000 (05:22 -0000)]
Fix DNS resolution so that it once again works. I'd broken it
when adding some locking code.
-Erik
Eric Andersen [Wed, 19 Jun 2002 17:25:06 +0000 (17:25 -0000)]
Fix incorrect comment re malloc-930716
-Erik
Eric Andersen [Wed, 19 Jun 2002 03:44:02 +0000 (03:44 -0000)]
Oops. Looks like I broke ttyname. Fix it.
-Erik
Eric Andersen [Tue, 18 Jun 2002 20:46:40 +0000 (20:46 -0000)]
A simple test for getcwd
-Erik
Eric Andersen [Tue, 18 Jun 2002 20:43:49 +0000 (20:43 -0000)]
Cleanup the getcwd implementation (again) since I broke it
last night. Restore malloc-ing when buf=NULL for the syscall
version... Move getcwd to libc/sysdeps/linux/common and out
of syscalls.c so there is just one getcwd.o object present.
-Erik
Eric Andersen [Tue, 18 Jun 2002 10:32:26 +0000 (10:32 -0000)]
Make sure the sccsid tags never get compiled in.
-Erik
Eric Andersen [Tue, 18 Jun 2002 10:27:16 +0000 (10:27 -0000)]
Eliminate all the pointless globals from getcwd(). Default
to using the getcwd syscall instead, when it is present.
-Erik
Eric Andersen [Tue, 18 Jun 2002 10:12:17 +0000 (10:12 -0000)]
update as far as i've double checked things thus far
-Erik
Manuel Novoa III [Tue, 18 Jun 2002 10:03:43 +0000 (10:03 -0000)]
Add in thread locking for tzset() and associated data. Also, fix a bug so
that localtime_r() calls tzset() to initialize/update timezone data.
Eric Andersen [Tue, 18 Jun 2002 09:29:16 +0000 (09:29 -0000)]
Kill kernel_version.c, which is completely meaningless crap
and didn't even work.
-Erik
Eric Andersen [Tue, 18 Jun 2002 09:19:10 +0000 (09:19 -0000)]
Rework, reduce the size, add proper locking
-Erik
Manuel Novoa III [Tue, 18 Jun 2002 08:54:53 +0000 (08:54 -0000)]
Remove obsolete files.
Manuel Novoa III [Tue, 18 Jun 2002 08:41:28 +0000 (08:41 -0000)]
Fix perror() and printf("%m") to not call strerror(), as required by the
standards. Temporarily added a utility function to wrap Erik's strerror_r
so that "Unknown error xxx" strings can be generated for errno's which
cause strerror_r to fail. That utility function will eventually be merged
in with the strerror/strerror_r functions when I change over to optionallly
mmap'ing the system error strings to provide for lower mem comsumption on
non-MMU platforms, as well as locale-specific system error messages.
Eric Andersen [Tue, 18 Jun 2002 07:50:22 +0000 (07:50 -0000)]
Silly name change
Eric Andersen [Tue, 18 Jun 2002 07:47:58 +0000 (07:47 -0000)]
Rework and kill pointless static variable
-Erik
Eric Andersen [Tue, 18 Jun 2002 06:45:46 +0000 (06:45 -0000)]
Fix thread locking so it works
-Erik
Eric Andersen [Tue, 18 Jun 2002 06:39:18 +0000 (06:39 -0000)]
Fix locking. Kill
Eric Andersen [Tue, 18 Jun 2002 06:25:22 +0000 (06:25 -0000)]
Some commentary
-Erik
Eric Andersen [Tue, 18 Jun 2002 01:10:28 +0000 (01:10 -0000)]
Patch from Martin Proulx <mproulx@okiok.com> to support
the i960 architecture.
Eric Andersen [Mon, 17 Jun 2002 21:18:37 +0000 (21:18 -0000)]
Update rpc headers. Add missing some headers
-Erik
Eric Andersen [Mon, 17 Jun 2002 21:16:54 +0000 (21:16 -0000)]
kill cruft
Eric Andersen [Mon, 17 Jun 2002 21:15:35 +0000 (21:15 -0000)]
Make things more re-entrany, kill some cruft.
-Erik
Eric Andersen [Mon, 17 Jun 2002 21:12:16 +0000 (21:12 -0000)]
Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make this
junk (and I do mean that ;-) thread safe without undue pain. Adds 12k worth to
the code size I'm afraid, but since I never use NFS and therefore never include
this stuff, I guess thats acceptable. I still need to enable the multi-threaded
bits...
-Erik
Eric Andersen [Mon, 17 Jun 2002 19:49:02 +0000 (19:49 -0000)]
Implement strerror_r. This is per SuSv3, not glibc which does
something different.
-Erik
Eric Andersen [Mon, 17 Jun 2002 19:02:01 +0000 (19:02 -0000)]
Shuffle the logic around a bit
-Erik
Eric Andersen [Mon, 17 Jun 2002 19:00:59 +0000 (19:00 -0000)]
Shuffle the logic around a bit
Eric Andersen [Mon, 17 Jun 2002 18:58:58 +0000 (18:58 -0000)]
Some cleanups so utmp/wtmp behaves. Fix potential use of
uninitialized memory. Prepare to reentrantify the utmp
stuff.
-Erik
Eric Andersen [Mon, 17 Jun 2002 18:49:47 +0000 (18:49 -0000)]
Ah kant spel mi name
Eric Andersen [Mon, 17 Jun 2002 17:31:43 +0000 (17:31 -0000)]
Add support for sigtimedwait and sigwaitinfo
-Erik
Manuel Novoa III [Mon, 17 Jun 2002 09:45:15 +0000 (09:45 -0000)]
Commit the new time stuff, even though I haven't made it threadsafe yet.
At least people can play with it. Also, fix a buglet in setenv.c.
Manuel Novoa III [Mon, 17 Jun 2002 08:35:18 +0000 (08:35 -0000)]
I guess nobody's tried this stuff. I apparently checked in the wrong version
several weeks ago.
Eric Andersen [Sat, 15 Jun 2002 19:27:00 +0000 (19:27 -0000)]
time() is implemented in syscalls.c
-Erik
Eric Andersen [Sat, 15 Jun 2002 19:24:08 +0000 (19:24 -0000)]
Implement ttyname_r
-Erik
Eric Andersen [Sat, 15 Jun 2002 19:23:42 +0000 (19:23 -0000)]
Prevent buffer overflow
Eric Andersen [Sat, 15 Jun 2002 18:37:27 +0000 (18:37 -0000)]
Fix a silly bug...
Eric Andersen [Thu, 13 Jun 2002 02:16:09 +0000 (02:16 -0000)]
Fix pthreads to use the rt signals if present
-Erik
Eric Andersen [Thu, 13 Jun 2002 01:37:20 +0000 (01:37 -0000)]
Begin efforts at reentrance by seperating out the stuff that isn't
reentrant and labeling it, and making everything else const.
-Erik
Eric Andersen [Wed, 12 Jun 2002 23:32:53 +0000 (23:32 -0000)]
Don't use fixed buffers if we have an mmu such that malloc
and realloc are cheap.
-Erik
Eric Andersen [Wed, 12 Jun 2002 23:27:00 +0000 (23:27 -0000)]
Silence warnings, clean things up.
-Erik
Eric Andersen [Wed, 12 Jun 2002 21:59:00 +0000 (21:59 -0000)]
Cleanup the mess, remove now obsolete files
-Erik
Eric Andersen [Wed, 12 Jun 2002 21:47:35 +0000 (21:47 -0000)]
Write a new strxfrm that doesn't make function calls. Uses the same logic as
before but unrolls the func calls and thereby eliminates some steps and some
bytes. Now adds just 40 bytes to .text.
-Erik
Eric Andersen [Wed, 12 Jun 2002 02:24:38 +0000 (02:24 -0000)]
Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int*
not an int.
Manuel Novoa III [Tue, 11 Jun 2002 21:19:41 +0000 (21:19 -0000)]
Revert Erik's patch to vasprintf and fix the real issue.
The writer for the stream returned by open_memstream was supposed to
keep the buffer nul-terminated. I apparently left out a statement.
Eric Andersen [Tue, 11 Jun 2002 12:54:12 +0000 (12:54 -0000)]
This patch from Rik Faith <faith@alephnull.com> fixes a potentially
non-NULL terminated string problem that could result from the use
of open_memstream(). Manuel may have a better solution, but this
one works for me, since with this plus the popen fix I can now run
things like gdb properly. Thanks Rik!
Eric Andersen [Tue, 11 Jun 2002 11:55:44 +0000 (11:55 -0000)]
A patch from Ted Phelps to fix popen(). Ted writes:
There is a minor bug in the implementation of popen(). In the case
where the file descriptor returned from its call to pipe() is the same
as the file descriptor that it is meant to be (where the dup2() branch
is not taken), the end of the pipe is still closed by close(reading)
even though it shouldn't be.
Thanks Ted!
Eric Andersen [Mon, 10 Jun 2002 21:44:45 +0000 (21:44 -0000)]
Kill the libc-lock headers, which we do not use and which are
not correct for uClibc. Fix setenv locking to behave itself.
-Erik
Eric Andersen [Sun, 9 Jun 2002 13:15:38 +0000 (13:15 -0000)]
Oops. Forgot to check this in. Thanks Martin Volf for noticing
-Erik
Manuel Novoa III [Sat, 8 Jun 2002 02:36:52 +0000 (02:36 -0000)]
Added a version of nl_langinfo for the stub C/POSIX locale support.
"Steven J. Hill" [Wed, 5 Jun 2002 18:40:46 +0000 (18:40 -0000)]
Fix up of '_dlopen' call and removal of unneeded argument in call '_dl_load_elf_shared_library'.
"Steven J. Hill" [Tue, 4 Jun 2002 16:09:19 +0000 (16:09 -0000)]
If we are cross-compiling, don't even try to build the target utilities.
"Steven J. Hill" [Tue, 4 Jun 2002 16:07:56 +0000 (16:07 -0000)]
Changes so that 'regdef.h' gets included in the development environment.
"Steven J. Hill" [Tue, 4 Jun 2002 16:06:11 +0000 (16:06 -0000)]
Moved to 'sys' directory.
Eric Andersen [Sat, 1 Jun 2002 12:07:20 +0000 (12:07 -0000)]
Doh!
Eric Andersen [Fri, 31 May 2002 00:11:26 +0000 (00:11 -0000)]
Patch from Robert Griebl <griebl@gmx.de> to support
getusershell() and friends.
Eric Andersen [Thu, 30 May 2002 23:49:43 +0000 (23:49 -0000)]
Rework setenv, getenv and friends per the latest glibc code, but cleaned
up for readability. Merge in putenv. Add clearenv as a side effect.
-Erik
Eric Andersen [Thu, 30 May 2002 13:19:34 +0000 (13:19 -0000)]
-#ifdef _POSIX_THREADS
+#ifdef __UCLIBC_HAS_THREADS__
Eric Andersen [Thu, 30 May 2002 13:17:44 +0000 (13:17 -0000)]
Fixup totally broken locking code... No storage for the mutex,
wrong ifdef macro..
-Erik
Eric Andersen [Thu, 30 May 2002 12:28:56 +0000 (12:28 -0000)]
Fix dependancy. again.
Eric Andersen [Thu, 30 May 2002 12:17:51 +0000 (12:17 -0000)]
Fix dependancy for util target
-Erik
Eric Andersen [Thu, 30 May 2002 12:08:10 +0000 (12:08 -0000)]
Doh! A silly typo broke select...
-Erik
Eric Andersen [Thu, 30 May 2002 10:07:53 +0000 (10:07 -0000)]
And with this, the alpha port is not basically working.
-Erik
Eric Andersen [Thu, 30 May 2002 09:29:36 +0000 (09:29 -0000)]
don't include the linux dir. Pointless and broken.
-Erik
Eric Andersen [Thu, 30 May 2002 09:20:50 +0000 (09:20 -0000)]
Put GCCINCDIR here, which is the only place it is needed.
-Erik
Eric Andersen [Thu, 30 May 2002 09:16:54 +0000 (09:16 -0000)]
Cool. An even better way to get the gcc include dir which eliminates
several external program calls, thanks to a suggestion from rmk.
-Erik
Eric Andersen [Thu, 30 May 2002 08:51:13 +0000 (08:51 -0000)]
Make these properly cope with 64bit systems
-Erik