OSDN Git Service

uclinux-h8/uClibc.git
23 years agoAdd in the timezone global from time.h, from a patch by
Eric Andersen [Mon, 19 Mar 2001 23:34:12 +0000 (23:34 -0000)]
Add in the timezone global from time.h, from a patch by
Jon Nelson <jnelson@boa.org>

23 years agoSeems most folks don't have /sbin in their path
Eric Andersen [Mon, 19 Mar 2001 23:32:00 +0000 (23:32 -0000)]
Seems most folks don't have /sbin in their path

23 years agoAdd in alphasort (working fine) and scandir (just a stub for now).
Eric Andersen [Mon, 19 Mar 2001 23:22:41 +0000 (23:22 -0000)]
Add in alphasort (working fine) and scandir (just a stub for now).
 -Erik

23 years agoMove the dirent stuff. I suppose it is system dependant, but then
Eric Andersen [Mon, 19 Mar 2001 22:49:36 +0000 (22:49 -0000)]
Move the dirent stuff.  I suppose it is system dependant, but then
it really should be grouped together too.  And it needed to be grouped
more then it needed to be in sysdeps/linux/common

23 years agoDebug should be off by default
Eric Andersen [Mon, 19 Mar 2001 22:40:50 +0000 (22:40 -0000)]
Debug should be off by default

23 years agoAdd in the sysvipc patch from Michael Shmulevich
Eric Andersen [Mon, 19 Mar 2001 21:51:29 +0000 (21:51 -0000)]
Add in the sysvipc patch from Michael Shmulevich

23 years agoAdd sigintr, from a patch by Michael Shmulevich
Eric Andersen [Mon, 19 Mar 2001 21:43:10 +0000 (21:43 -0000)]
Add sigintr, from a patch by Michael Shmulevich

23 years agoSync with glibc i386 bits.
Eric Andersen [Mon, 19 Mar 2001 21:37:09 +0000 (21:37 -0000)]
Sync with glibc i386 bits.

23 years agoPut weak symbols where they can find what they are aliasing. Clean up strcspn.c
Manuel Novoa III [Mon, 19 Mar 2001 21:33:48 +0000 (21:33 -0000)]
Put weak symbols where they can find what they are aliasing.  Clean up strcspn.c

23 years agoAdd a sneaky backwards compat hack from Michael Shmulevich
Eric Andersen [Mon, 19 Mar 2001 20:23:01 +0000 (20:23 -0000)]
Add a sneaky backwards compat hack from Michael Shmulevich

23 years agoSync i386 up with _all_ the glibc 2.1.3 include/bits headers,
Eric Andersen [Mon, 19 Mar 2001 20:13:39 +0000 (20:13 -0000)]
Sync i386 up with _all_ the glibc 2.1.3 include/bits headers,
since we will end up needing a few more of them anyways, and
all the other arches have the full set anyways.
 -Erik

23 years agoWith the Official Declaration of coff being dead, we can
Eric Andersen [Mon, 19 Mar 2001 20:07:59 +0000 (20:07 -0000)]
With the Official Declaration of coff being dead, we can
forget about wrapper functions and just use weak symbols.
 -Erik

23 years agoSmall change from Vladimir.
Manuel Novoa III [Mon, 19 Mar 2001 17:49:28 +0000 (17:49 -0000)]
Small change from Vladimir.

23 years agoSince Erik apparently wants def/undef vs def 1/0...
Manuel Novoa III [Mon, 19 Mar 2001 17:45:44 +0000 (17:45 -0000)]
Since Erik apparently wants def/undef vs def 1/0...

23 years agoMove yet more stuff into the uClibc_config.h file
Eric Andersen [Mon, 19 Mar 2001 06:29:14 +0000 (06:29 -0000)]
Move yet more stuff into the uClibc_config.h file

23 years agoFix up breakage resulting from flipping the sense of some defines. Change from
Eric Andersen [Mon, 19 Mar 2001 06:24:20 +0000 (06:24 -0000)]
Fix up breakage resulting from flipping the sense of some defines.  Change from
defining things to "0" in the disabled case to outright undefining them, lest
code that does an "#ifdef FOO" get inadvertantly triggered.  Remove now
unneeded lines from Rules.mak which makes the command line smaller and avoids
redundancy (since this stuff is now pulled in via features.h).
 -Erik

23 years agoTest for Config features using features.h.
Manuel Novoa III [Sun, 18 Mar 2001 22:25:43 +0000 (22:25 -0000)]
Test for Config features using features.h.

23 years agoPart of the shared lib build rework.
Manuel Novoa III [Sun, 18 Mar 2001 22:23:51 +0000 (22:23 -0000)]
Part of the shared lib build rework.

23 years agoAdded Vladimir's ctype locale support. Make Config setting visible in features.h...
Manuel Novoa III [Sun, 18 Mar 2001 22:23:22 +0000 (22:23 -0000)]
Added Vladimir's ctype locale support.  Make Config setting visible in features.h.  Reworked build of shared lib as suggested by Magick <magick@dds.nl>.

23 years agoPart of the ctype locale support.
Manuel Novoa III [Sun, 18 Mar 2001 22:19:32 +0000 (22:19 -0000)]
Part of the ctype locale support.

23 years agoFix fdopen mode-compatibility test and errno setting.
Manuel Novoa III [Sat, 17 Mar 2001 19:05:51 +0000 (19:05 -0000)]
Fix fdopen mode-compatibility test and errno setting.

23 years agoAdd in a setjmp test from David Schleef
Eric Andersen [Fri, 16 Mar 2001 03:20:36 +0000 (03:20 -0000)]
Add in a setjmp test from David Schleef

23 years agoAdd powerpc port done by David Schleef <ds@schleef.org>
Eric Andersen [Fri, 16 Mar 2001 01:06:29 +0000 (01:06 -0000)]
Add powerpc port done by David Schleef <ds@schleef.org>

23 years agoWow. I'm all full of stupid mistakes today. Fix strxfrm
Eric Andersen [Thu, 15 Mar 2001 19:58:26 +0000 (19:58 -0000)]
Wow.  I'm all full of stupid mistakes today.  Fix strxfrm
 -Erik

23 years agoHah. It turned out that index and rindex were _already_
Eric Andersen [Thu, 15 Mar 2001 19:53:59 +0000 (19:53 -0000)]
Hah.  It turned out that index and rindex were _already_
there and already implemented as wrapper funcs.  And so
just the header files were wrong.  Anyway, axe the old
index and rindex.
 -Erik

23 years agoAdd strxfrm and strcoll
Eric Andersen [Thu, 15 Mar 2001 19:35:37 +0000 (19:35 -0000)]
Add strxfrm and strcoll

23 years agoFix the header file for index, rindex and similar
Eric Andersen [Thu, 15 Mar 2001 19:32:28 +0000 (19:32 -0000)]
Fix the header file for index, rindex and similar

23 years agoFix bug with %c... takes care of bug reported with busybox ps.
Manuel Novoa III [Thu, 15 Mar 2001 19:31:09 +0000 (19:31 -0000)]
Fix bug with %c... takes care of bug reported with busybox ps.

23 years agoAdd index and rindex
Eric Andersen [Thu, 15 Mar 2001 19:30:26 +0000 (19:30 -0000)]
Add index and rindex

23 years agoNew version of scanf, with floating point support.
Manuel Novoa III [Tue, 13 Mar 2001 16:04:09 +0000 (16:04 -0000)]
New version of scanf, with floating point support.

23 years agoDelete a stray character that hopped into the file...
Manuel Novoa III [Tue, 13 Mar 2001 16:03:26 +0000 (16:03 -0000)]
Delete a stray character that hopped into the file...

23 years agoDelete wordexp. There isn't much point in having this since
Eric Andersen [Tue, 13 Mar 2001 06:37:21 +0000 (06:37 -0000)]
Delete wordexp.  There isn't much point in having this since
so few apps use it, and it is just a stub anyways.  Better
to just skip it.

23 years agoHack long long support into scanf. For now, will fail for unsigned long longs
Manuel Novoa III [Mon, 12 Mar 2001 10:09:06 +0000 (10:09 -0000)]
Hack long long support into scanf.  For now, will fail for unsigned long longs
that are greater that long long max, but works well enough to support interface
in busybox.  Just a temporary measure until scanf.c is rewritten.

23 years agoDefine h_errno to be errno for now.
Manuel Novoa III [Mon, 12 Mar 2001 10:06:18 +0000 (10:06 -0000)]
Define h_errno to be errno for now.

23 years agoAdd some missing network functionality; grabbed from libc-5.3.12.
Manuel Novoa III [Mon, 12 Mar 2001 10:04:34 +0000 (10:04 -0000)]
Add some missing network functionality; grabbed from libc-5.3.12.

23 years agoHmm. Seems I left wordexp off. oops.
Eric Andersen [Thu, 8 Mar 2001 16:57:01 +0000 (16:57 -0000)]
Hmm.  Seems I left wordexp off.  oops.

23 years agoAdd in wordexp support (mostly stubbed out for now) since the busybox
Eric Andersen [Thu, 8 Mar 2001 16:49:37 +0000 (16:49 -0000)]
Add in wordexp support (mostly stubbed out for now) since the busybox
shell, lash, is about to start using wordexp.
 -Erik

23 years agoMake alloca work using the compiler builtin
Eric Andersen [Thu, 8 Mar 2001 16:47:29 +0000 (16:47 -0000)]
Make alloca work using the compiler builtin
 -Erik

23 years agoReworked the password stuff to be reentrant. Group stuff is
Eric Andersen [Thu, 8 Mar 2001 16:45:24 +0000 (16:45 -0000)]
Reworked the password stuff to be reentrant.  Group stuff is
still needing to be reworked.
 -Erik

23 years agoAdd strnlen
Eric Andersen [Thu, 8 Mar 2001 07:33:05 +0000 (07:33 -0000)]
Add strnlen

23 years agoFix a bad assertion test.
Manuel Novoa III [Wed, 7 Mar 2001 09:47:29 +0000 (09:47 -0000)]
Fix a bad assertion test.

23 years agoMove fork to common/syscalls (with NO_MMU check). Add Makefile to sparc so
Manuel Novoa III [Tue, 6 Mar 2001 15:27:46 +0000 (15:27 -0000)]
Move fork to common/syscalls (with NO_MMU check).  Add Makefile to sparc so
make clean works.

23 years agoFix unified syscall stuff for changed ?stat. Move fork to syscalls.c wrapped
Manuel Novoa III [Tue, 6 Mar 2001 15:25:28 +0000 (15:25 -0000)]
Fix unified syscall stuff for changed ?stat.  Move fork to syscalls.c wrapped
with a check for NO_MMU of course.

23 years agoI just grabbed the bits dir from glibc 2.1.3 on a sparc box
Eric Andersen [Tue, 6 Mar 2001 00:13:05 +0000 (00:13 -0000)]
I just grabbed the bits dir from glibc 2.1.3 on a sparc box
to facilitate the sparc porting work being done by Mathew Bosworth.
 -Erik

23 years agostat and mknod cleanup, take two. Put all the needed junk into syscalls.c
Eric Andersen [Mon, 5 Mar 2001 21:19:18 +0000 (21:19 -0000)]
stat and mknod cleanup, take two.  Put all the needed junk into syscalls.c
for clarity.
 -Erik

23 years agoFix up some long standing iterative symbol usage problem, noticed today by
Eric Andersen [Mon, 5 Mar 2001 20:09:12 +0000 (20:09 -0000)]
Fix up some long standing iterative symbol usage problem, noticed today by
Michael Shmulevich, which was caused by the grafting in of GNU libc header
files.
 -Erik

23 years agoPatch from Michael Shmulevich (michaels@jungo.com) -- functions were not
Manuel Novoa III [Mon, 5 Mar 2001 18:44:47 +0000 (18:44 -0000)]
Patch from Michael Shmulevich (michaels@jungo.com) -- functions were not
declared type function.

23 years agoPatch from Jean-Yves Avenard to move the getopt globals to their
Eric Andersen [Mon, 5 Mar 2001 06:18:33 +0000 (06:18 -0000)]
Patch from Jean-Yves Avenard to move the getopt globals to their
own file, since at least on SH, weak variables with initial values
(.data stuff) were not working.  Moving these to their own file
seems to be a good way to handle it.

23 years agoUse LDFLAGS, don't always include -nostdlib...
Eric Andersen [Mon, 5 Mar 2001 06:01:21 +0000 (06:01 -0000)]
Use LDFLAGS, don't always include -nostdlib...

23 years agoFixed vfork on i386. Reduced size of __uClibc_syscall.
Manuel Novoa III [Sun, 4 Mar 2001 19:13:07 +0000 (19:13 -0000)]
Fixed vfork on i386.  Reduced size of __uClibc_syscall.

23 years agoFix a couple of bugs: check mode is legal; open file and check success before
Manuel Novoa III [Sat, 3 Mar 2001 20:37:32 +0000 (20:37 -0000)]
Fix a couple of bugs: check mode is legal; open file and check success before
calling vfork.

23 years agostrtok_r.c was not being compiled in, so fix that.
Eric Andersen [Sat, 3 Mar 2001 16:51:17 +0000 (16:51 -0000)]
strtok_r.c was not being compiled in, so fix that.

23 years agoStupid buglet fix. Don't trash FILE bufstart if buffer allocation fails.
Manuel Novoa III [Thu, 1 Mar 2001 22:58:36 +0000 (22:58 -0000)]
Stupid buglet fix.  Don't trash FILE bufstart if buffer allocation fails.

23 years agoAdded __strtok_r function. Change strtok to a wrapper around __strtok_r and
Manuel Novoa III [Thu, 1 Mar 2001 19:49:41 +0000 (19:49 -0000)]
Added __strtok_r function.  Change strtok to a wrapper around __strtok_r and
add a weak alias of __strtok_r for strtok_r since optional.  Also reduced
code size.

23 years agoFix a buglet regarding floating point output for ?nprintf functions.
Manuel Novoa III [Wed, 28 Feb 2001 16:38:26 +0000 (16:38 -0000)]
Fix a buglet regarding floating point output for ?nprintf functions.

23 years agoThis evening I've been investigating why linking with the shared uClibc library
Eric Andersen [Wed, 28 Feb 2001 04:01:29 +0000 (04:01 -0000)]
This evening I've been investigating why linking with the shared uClibc library
was not working when booting busybox as init, even though it workes when run on
my desktop system.  I made  boot floppy with just /dev, a few /etc entries,
busybox dynamically linked vs uClibc, and /lib with shared uClibc in it.  And
just as several people have reported, it didn't work.

So I ran 'ldd /bin/true' and it showed 'true' is linked with the shared library
loader.  But 'ldd ./busybox' showed it was only linked with uClibc.  Doh!  Of
course it couldn't work!

This patch fixes the gcc wrapper so when we link with the shared uClibc
library, we also always link with the correct shared lib loader.  With this
patch in place, I have now sucessfully booted busybox linked vs the shared
uClibc library.  And it works great!
 -Erik

23 years agostdio mostly rewritten... passes lots of tests now.
Manuel Novoa III [Tue, 27 Feb 2001 21:33:59 +0000 (21:33 -0000)]
stdio mostly rewritten... passes lots of tests now.
printf now supports long double, plus some bug fixes.

23 years agoFor some reason the fancy attribute tags were not working on m68k so
David McCullough [Tue, 27 Feb 2001 01:04:45 +0000 (01:04 -0000)]
For some reason the fancy attribute tags were not working on m68k so
I followed environ example which uses asm and it seemed to fix the problem
nicely.

It should be ok on i386.  Could some check it please :-)

23 years agog++ compatible math defines.
David McCullough [Mon, 26 Feb 2001 04:00:30 +0000 (04:00 -0000)]
g++ compatible math defines.

23 years agoNew crt0.S with all init done in 'C' code.
David McCullough [Mon, 26 Feb 2001 03:57:47 +0000 (03:57 -0000)]
New crt0.S with all init done in 'C' code.
Added in support for C++ contructor/destructor tables.

23 years agoReduced the size of sigsets to the minimal needed. Apart from the size,
David McCullough [Mon, 26 Feb 2001 03:55:17 +0000 (03:55 -0000)]
Reduced the size of sigsets to the minimal needed.  Apart from the size,
it has the added advantage of giving the C++ build of m68k-elf-gcc a clean
bill of health.

23 years agoAdded res_init and res_query
David McCullough [Mon, 26 Feb 2001 03:49:32 +0000 (03:49 -0000)]
Added res_init and res_query

23 years agoAdded /etc/hosts processing (parses everytime like a real one :-)
David McCullough [Mon, 26 Feb 2001 03:48:52 +0000 (03:48 -0000)]
Added /etc/hosts processing (parses everytime like a real one :-)

Added support for multiple nameserver lines,  still supports multiple
servers on a on single line.

Added "domain" entry.  domain and search are mutually exclusive and
override each other (the last one wins, see the resolver(5) man page).

Added dummy "getnetbyname" that returns fail.

Added "res_init" and "res_query".

23 years agoAdded "psignal" function
David McCullough [Mon, 26 Feb 2001 02:54:33 +0000 (02:54 -0000)]
Added "psignal" function

23 years agoUpdate arm for the new way of entering main. BTW, I can now run things on arm
Eric Andersen [Fri, 23 Feb 2001 09:19:24 +0000 (09:19 -0000)]
Update arm for the new way of entering main.  BTW, I can now run things on arm
as a shared library, using the glibc shared lib loader.  :-)

I've updated the pic case but havn't tested it yet.
 -Erik

23 years agoForgot to increment i
Eric Andersen [Fri, 23 Feb 2001 08:51:23 +0000 (08:51 -0000)]
Forgot to increment i

23 years agoSigh. Turn debugging back off.
Eric Andersen [Fri, 23 Feb 2001 08:19:41 +0000 (08:19 -0000)]
Sigh.  Turn debugging back off.

23 years agoThis is a touch cleaner, avoids using the comma operator.
Eric Andersen [Fri, 23 Feb 2001 08:18:48 +0000 (08:18 -0000)]
This is a touch cleaner, avoids using the comma operator.

23 years agoThis actually fixes things I believe.
Eric Andersen [Fri, 23 Feb 2001 08:07:12 +0000 (08:07 -0000)]
This actually fixes things I believe.

23 years agoLet system dependant things override common things.
Eric Andersen [Fri, 23 Feb 2001 01:41:13 +0000 (01:41 -0000)]
Let system dependant things override common things.

23 years agoFix two bugs. First, gethostbyname was doing dns queries when given an IP
Eric Andersen [Fri, 23 Feb 2001 01:08:27 +0000 (01:08 -0000)]
Fix two bugs.  First, gethostbyname was doing dns queries when given an IP
address.  Secondly, when doing reverse dns lookups, it was appending the
domain, even if a domain was already attached.
 -Erik

23 years agodiv and ldiv are required for ISO 9899
Eric Andersen [Thu, 22 Feb 2001 18:02:24 +0000 (18:02 -0000)]
div and ldiv are required for ISO 9899
 -Erik

23 years agoPatch from Jean-Yves Avenard to add missing siglongjmp entry and
Eric Andersen [Thu, 22 Feb 2001 05:29:50 +0000 (05:29 -0000)]
Patch from Jean-Yves Avenard to add missing siglongjmp entry and
fix a bug in setjmp for SH

23 years agoUpdate to "malloc" so it will work on CPUs not supporting non-aligned words.
Eric Andersen [Wed, 21 Feb 2001 19:11:26 +0000 (19:11 -0000)]
Update to "malloc" so it will work on CPUs not supporting non-aligned words.
malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard

23 years agoAdd an SH port done by Jean-Yves Avenard of Hewlett-Packard - Embedded
Eric Andersen [Wed, 21 Feb 2001 18:58:30 +0000 (18:58 -0000)]
Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - Embedded
and Personal Systems.  Thanks!
 -Erik

23 years agoFix a couple of bugs in _fopen and fclose, plus change a few internals.
Manuel Novoa III [Mon, 19 Feb 2001 20:33:38 +0000 (20:33 -0000)]
Fix a couple of bugs in _fopen and fclose, plus change a few internals.

23 years agoHave isatty call ioctl directly rather than tcgetattr; especially since any
Manuel Novoa III [Mon, 19 Feb 2001 11:21:34 +0000 (11:21 -0000)]
Have isatty call ioctl directly rather than tcgetattr; especially since any
program using stdio will call isatty during initialization.

23 years agoMake sure errno is 0 before we call main (may have been set while initializing).
Manuel Novoa III [Mon, 19 Feb 2001 10:33:52 +0000 (10:33 -0000)]
Make sure errno is 0 before we call main (may have been set while initializing).

23 years agoRemove redundant old isatty.c since newer termios supplies one.
Manuel Novoa III [Mon, 19 Feb 2001 10:28:38 +0000 (10:28 -0000)]
Remove redundant old isatty.c since newer termios supplies one.

23 years agoI just changed "net" to "inet" to better follow the directory
Eric Andersen [Mon, 19 Feb 2001 03:02:34 +0000 (03:02 -0000)]
I just changed "net" to "inet" to better follow the directory
structure of libc5 and glibc.  Fix the makefile accordingly.
Folks will want to 'rm -rf net' to remove the old "net" directory.
 -Erik

23 years agoLots of stdio cleanups. Several bug fixes, addition of a number of functions
Manuel Novoa III [Mon, 19 Feb 2001 00:28:09 +0000 (00:28 -0000)]
Lots of stdio cleanups.  Several bug fixes, addition of a number of functions
to supplement macros in stdio.h, change perror to use stdio package instead
of "write".  Also add back in weak stdio initialization for static lib case.

23 years agoCreate __uClibc_main to handle what can be done in C instead of each arch's
Manuel Novoa III [Mon, 19 Feb 2001 00:24:52 +0000 (00:24 -0000)]
Create __uClibc_main to handle what can be done in C instead of each arch's
respective crt0.S.  crt0.S should now only be responsible for setting things
up to call __uClibc_main(argc, argv, envp), which will do any other necessary
setup (setting global __environ, stdio init, etc), call main, and exit.  This
should ease both maintainance and porting.

23 years agoRevert to standard handling of _exit syscall in unified syscall case on i386.
Manuel Novoa III [Mon, 19 Feb 2001 00:16:39 +0000 (00:16 -0000)]
Revert to standard handling of _exit syscall in unified syscall case on i386.

23 years agoFix problems with test wrapper and test compiler selection.
Manuel Novoa III [Mon, 19 Feb 2001 00:14:42 +0000 (00:14 -0000)]
Fix problems with test wrapper and test compiler selection.

23 years agoFix LIBC rule. (cut-and-paste user bug...)
Manuel Novoa III [Thu, 15 Feb 2001 16:46:18 +0000 (16:46 -0000)]
Fix LIBC rule.  (cut-and-paste user bug...)

23 years agoAnd apparently some things include sys/time.h instead of time.h in uClibc...
Manuel Novoa III [Thu, 15 Feb 2001 16:37:57 +0000 (16:37 -0000)]
And apparently some things include sys/time.h instead of time.h in uClibc...

23 years agoI guess we always need timespec...
Manuel Novoa III [Thu, 15 Feb 2001 16:27:53 +0000 (16:27 -0000)]
I guess we always need timespec...

23 years agoAdd bdflush.
Manuel Novoa III [Thu, 15 Feb 2001 16:20:49 +0000 (16:20 -0000)]
Add bdflush.

23 years agoAdd vdprintf function. Note: will be rewritten to check if file descriptor has an...
Manuel Novoa III [Thu, 15 Feb 2001 16:20:14 +0000 (16:20 -0000)]
Add vdprintf function.  Note: will be rewritten to check if file descriptor has an associated FILE to avoid bad interactions with buffered output, but needed for busybox right now and that implementation has the same bug.

23 years agoFix stdin/stdout/stderr for now.
Manuel Novoa III [Thu, 15 Feb 2001 16:18:12 +0000 (16:18 -0000)]
Fix stdin/stdout/stderr for now.

23 years agoAdd tsearch functions from libc-5.3.12.
Manuel Novoa III [Thu, 15 Feb 2001 16:17:15 +0000 (16:17 -0000)]
Add tsearch functions from libc-5.3.12.

23 years agoComment out for now. Not used and was causing an error.
Manuel Novoa III [Thu, 15 Feb 2001 16:16:30 +0000 (16:16 -0000)]
Comment out for now.  Not used and was causing an error.

23 years agoAdd missing header file.
Manuel Novoa III [Thu, 15 Feb 2001 16:15:45 +0000 (16:15 -0000)]
Add missing header file.

23 years agoHandle definition of struct timespec.
Manuel Novoa III [Thu, 15 Feb 2001 16:15:30 +0000 (16:15 -0000)]
Handle definition of struct timespec.

23 years agoFix stdin/stdout/stderr (that I broke) and add vdprintf prototype.
Manuel Novoa III [Thu, 15 Feb 2001 16:14:39 +0000 (16:14 -0000)]
Fix stdin/stdout/stderr (that I broke) and add vdprintf prototype.

23 years agoFix broken prototype.
Manuel Novoa III [Thu, 15 Feb 2001 16:12:47 +0000 (16:12 -0000)]
Fix broken prototype.

23 years agoDefine __USE_GNU as glibc does.
Manuel Novoa III [Thu, 15 Feb 2001 16:12:24 +0000 (16:12 -0000)]
Define __USE_GNU as glibc does.

23 years agoHack DYNAMIC_LINKER setting for now.
Manuel Novoa III [Thu, 15 Feb 2001 16:11:21 +0000 (16:11 -0000)]
Hack DYNAMIC_LINKER setting for now.

23 years agoUse MAP_FAILED.
Eric Andersen [Tue, 13 Feb 2001 00:33:30 +0000 (00:33 -0000)]
Use MAP_FAILED.

23 years agoAdd MAP_FAILED per spec -- patch from Michael Shmulevich <michaels@jungo.com>
Eric Andersen [Tue, 13 Feb 2001 00:30:39 +0000 (00:30 -0000)]
Add MAP_FAILED per spec -- patch from Michael Shmulevich <michaels@jungo.com>