OSDN Git Service

uclinux-h8/uClibc.git
21 years agoAdded function 'mkdtemp' for Linux Test Project.
"Steven J. Hill" [Wed, 4 Sep 2002 02:45:42 +0000 (02:45 -0000)]
Added function 'mkdtemp' for Linux Test Project.

21 years agoAdded function 'get_current_dir_name' for Linux Test Project. Tested and
"Steven J. Hill" [Wed, 4 Sep 2002 02:44:32 +0000 (02:44 -0000)]
Added function 'get_current_dir_name' for Linux Test Project. Tested and
works identically to function in glibc.

21 years ago(free):
Miles Bader [Wed, 4 Sep 2002 02:11:08 +0000 (02:11 -0000)]
(free):
  Update debug statement.
  Update to use __heap_delete and __heap_is_empty.

21 years ago(__heap_delete): Renamed from `__heap_unlink_free_area'.
Miles Bader [Wed, 4 Sep 2002 02:09:13 +0000 (02:09 -0000)]
(__heap_delete): Renamed from `__heap_unlink_free_area'.
(__heap_free_area_alloc): Use __heap_delete.
(__heap_is_empty): New macro.

21 years agoSupport fstatvfs64 and statvfs64
Eric Andersen [Tue, 3 Sep 2002 22:01:05 +0000 (22:01 -0000)]
Support fstatvfs64 and statvfs64
 -Erik

21 years agoOops. Turns out I broke statvfs() and fstatvfs() back in February,
Eric Andersen [Tue, 3 Sep 2002 21:58:19 +0000 (21:58 -0000)]
Oops.  Turns out I broke statvfs() and fstatvfs() back in February,
when I accidentally changed them unconditionally into the 64 bit
versions...  Oops.
 -Erik

21 years agoRedo stat structures (kernel changed too).
Miles Bader [Fri, 30 Aug 2002 09:15:48 +0000 (09:15 -0000)]
Redo stat structures (kernel changed too).

21 years agoAdd __kernel_ino64_t.
Miles Bader [Fri, 30 Aug 2002 09:14:28 +0000 (09:14 -0000)]
Add __kernel_ino64_t.
Make __kernel_loff_t unconditional.

21 years agoCFLAGS+=-D__FORCE_NOGLIBC, not CFLAGS+=__FORCE_NOGLIBC
Aaron Lehmann [Fri, 30 Aug 2002 07:34:29 +0000 (07:34 -0000)]
CFLAGS+=-D__FORCE_NOGLIBC, not CFLAGS+=__FORCE_NOGLIBC
Change a than to then

21 years agoDoc fix.
Miles Bader [Fri, 30 Aug 2002 06:00:00 +0000 (06:00 -0000)]
Doc fix.

21 years ago(__heap_free): Tighten up the inner loop, and make the code more readable.
Miles Bader [Fri, 30 Aug 2002 05:59:09 +0000 (05:59 -0000)]
(__heap_free): Tighten up the inner loop, and make the code more readable.

21 years agoUse `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.
Miles Bader [Fri, 30 Aug 2002 05:15:31 +0000 (05:15 -0000)]
Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.

21 years ago(likely, unlikely): New macros.
Miles Bader [Fri, 30 Aug 2002 05:14:26 +0000 (05:14 -0000)]
(likely, unlikely): New macros.

21 years ago(likely, unlikely): New macros.
Miles Bader [Fri, 30 Aug 2002 05:13:57 +0000 (05:13 -0000)]
(likely, unlikely): New macros.
(__malloc_likely, __malloc_unlikely): Macros removed.

21 years agoFix a silly bug notices by Ronald Wahl <rwa@peppercon.com>
Eric Andersen [Wed, 28 Aug 2002 19:58:21 +0000 (19:58 -0000)]
Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>

21 years agoIf the initfini.pl script changes, regenerate the crt[in].S files.
David McCullough [Wed, 28 Aug 2002 14:16:30 +0000 (14:16 -0000)]
If the initfini.pl script changes,  regenerate the crt[in].S files.

21 years agoFix broken getpriority syscall, per email from Marshall M. Midden
Eric Andersen [Wed, 28 Aug 2002 03:34:38 +0000 (03:34 -0000)]
Fix broken getpriority syscall, per email from Marshall M. Midden
 -Erik

21 years agofix grammar
Eric Andersen [Wed, 28 Aug 2002 00:59:09 +0000 (00:59 -0000)]
fix grammar

21 years agoFinal update
Eric Andersen [Tue, 27 Aug 2002 23:27:47 +0000 (23:27 -0000)]
Final update

21 years agoSomehow the bit of code that add the offset of envp to argv got lost
David McCullough [Tue, 27 Aug 2002 23:11:13 +0000 (23:11 -0000)]
Somehow the bit of code that add the offset of envp to argv got lost
and envp was a very small number and not an address.  I think this fixes
most of the SH platform.

21 years agoupdate for release
Eric Andersen [Tue, 27 Aug 2002 22:04:31 +0000 (22:04 -0000)]
update for release

21 years agoUpdate changelog for release
Eric Andersen [Tue, 27 Aug 2002 21:55:51 +0000 (21:55 -0000)]
Update changelog for release

21 years agoObligatory forgotten file... sys_errlist garbage.
Manuel Novoa III [Tue, 27 Aug 2002 19:42:55 +0000 (19:42 -0000)]
Obligatory forgotten file... sys_errlist garbage.

21 years agoSemonstrate a problem where weak symbols referenced in shared libs are not
Eric Andersen [Tue, 27 Aug 2002 19:38:14 +0000 (19:38 -0000)]
Semonstrate a problem where weak symbols referenced in shared libs are not
being overridden when those same symbols _are_ overridden by other shared libs
in the main app.  Ick.
 -Erik

21 years agoMake sure that bits/syscalls.h always includes bits/syscall.h
Eric Andersen [Tue, 27 Aug 2002 19:31:31 +0000 (19:31 -0000)]
Make sure that bits/syscalls.h always includes bits/syscall.h
 -Erik

21 years agoReimplement sys_errlist[] so that it works on sparc, alpha, and mips.
Manuel Novoa III [Tue, 27 Aug 2002 19:23:02 +0000 (19:23 -0000)]
Reimplement sys_errlist[] so that it works on sparc, alpha, and mips.
In my opinion, this is a complete waste of good memory and is only
done to avoid the anticipated whining by people who think this libary
is named uCglibc.  At some point this may become a configurable option.
And even then, it may not be available in all configs... for instance
when system error messages become locale-dependent.

21 years agoMake this as glibc-like as possible while avoiding the fileutils
Manuel Novoa III [Tue, 27 Aug 2002 18:16:18 +0000 (18:16 -0000)]
Make this as glibc-like as possible while avoiding the fileutils
problem.  glibc hides the DT_* enum values unless __USE_BSD is defined.

21 years agoFix a delay slot problem, this gets some apps working on SH, a good number
David McCullough [Tue, 27 Aug 2002 06:28:30 +0000 (06:28 -0000)]
Fix a delay slot problem,  this gets some apps working on SH, a good number
are still seg-faulting.

21 years agoMove the _DIRENT_HAVE_D_TYPE test to avoid breaking fileutils
Eric Andersen [Tue, 27 Aug 2002 01:47:10 +0000 (01:47 -0000)]
Move the _DIRENT_HAVE_D_TYPE test to avoid breaking fileutils
 -Erik

21 years agoNo need to hide this stuff when _DIRENT_HAVE_D_TYPE is not
Eric Andersen [Tue, 27 Aug 2002 01:29:54 +0000 (01:29 -0000)]
No need to hide this stuff when _DIRENT_HAVE_D_TYPE is not
defined...  Nothing too sacred in there and it can be used
for other things...
 -Erik

21 years agoAdded __kernel_fsid_t to satisfy some apps that need it.
David McCullough [Tue, 27 Aug 2002 01:20:21 +0000 (01:20 -0000)]
Added __kernel_fsid_t to satisfy some apps that need it.
Definitions taken from 2.4 kernel sources for each of the platforms.

21 years agoImplement missing readdir64_r.c
Eric Andersen [Mon, 26 Aug 2002 18:46:06 +0000 (18:46 -0000)]
Implement missing readdir64_r.c
 -Erik

21 years agosparc, alpha, and mips have different errno values than the other
Manuel Novoa III [Mon, 26 Aug 2002 18:06:53 +0000 (18:06 -0000)]
sparc, alpha, and mips have different errno values than the other
supported platforms.  Adjust _susv3_strerror_r function to deal with
this.  Also fix an error in strerror() wrt invalid errnos.

NOTE: sys_errlist and sys_nerr are no longer supported!!!

21 years agoOops. I got the include guard wrong. Fix it per current
Eric Andersen [Mon, 26 Aug 2002 17:18:02 +0000 (17:18 -0000)]
Oops.  I got the include guard wrong.  Fix it per current
value in include/asm-v850/posix_types.h on cvs.uclinux.org
 -Erik

21 years agoMake bits/kernel_types.h include guard names match the include
Eric Andersen [Mon, 26 Aug 2002 17:13:30 +0000 (17:13 -0000)]
Make bits/kernel_types.h include guard names match the include
guard names used by the kernel's asm/posix_types.h to eliminate
gratuitous conflicts and let our file win over the very-likely-
to-be-broken kernel header file.
 -Erik

21 years agoInitial checkin.
Miles Bader [Mon, 26 Aug 2002 07:03:33 +0000 (07:03 -0000)]
Initial checkin.

21 years agoUpdate version to 0.9.15 in preparation for making a release
Eric Andersen [Sun, 25 Aug 2002 22:22:30 +0000 (22:22 -0000)]
Update version to 0.9.15 in preparation for making a release
 -Erik

21 years agoChanged fclose behavior when custom streams were enabled. Previously,
Manuel Novoa III [Sun, 25 Aug 2002 22:11:29 +0000 (22:11 -0000)]
Changed fclose behavior when custom streams were enabled.  Previously,
the cookie pointer was set to NULL as a debugging aid.  However,
some of the perl 5.8 test rely on being able to close stderr and
still try writing to it.  So now, the cookie pointer and handler
function pointers are set to that it is a "normal" file with a
file descriptor of -1.

Note: The cookie pointer is reset to NULL if the FILE struct is
free'd by fclose.

21 years agoKill the HAS_LONG_LONG option. It really did not make a lot of
Eric Andersen [Sun, 25 Aug 2002 22:04:43 +0000 (22:04 -0000)]
Kill the HAS_LONG_LONG option.  It really did not make a lot of
sense to exclude it, gcc always supports long long, and we never
fully excluded long long anyways (off64_t for example).
 -Erik

21 years agoUse the kernel version of struct msqid_ds directly, since we don't
Eric Andersen [Sun, 25 Aug 2002 21:21:24 +0000 (21:21 -0000)]
Use the kernel version of struct msqid_ds directly, since we don't
do any of that silly translating...
 -Erik

21 years agoFinish off the bits/kernel_stat.h cleanup for proper
Eric Andersen [Sun, 25 Aug 2002 00:22:16 +0000 (00:22 -0000)]
Finish off the bits/kernel_stat.h cleanup for proper
__USE_FILE_OFFSET64 handling.
 -Erik

21 years agoMake shm stuff work properly.
Eric Andersen [Sun, 25 Aug 2002 00:08:23 +0000 (00:08 -0000)]
Make shm stuff work properly.
 -Erik

21 years agoignore generated stuff
Eric Andersen [Sun, 25 Aug 2002 00:06:10 +0000 (00:06 -0000)]
ignore generated stuff

21 years agoTweak things so that struct stat and struct stat64 (seem to) work on
Manuel Novoa III [Sat, 24 Aug 2002 21:38:44 +0000 (21:38 -0000)]
Tweak things so that struct stat and struct stat64 (seem to) work on
i386.  This is for Erik to look at wrt the other archs.

21 years agoSimple shared memory test
Eric Andersen [Sat, 24 Aug 2002 21:23:58 +0000 (21:23 -0000)]
Simple shared memory test

21 years agoAvoid `ECANCELED' redefined on mips
Eric Andersen [Sat, 24 Aug 2002 01:35:44 +0000 (01:35 -0000)]
Avoid `ECANCELED' redefined on mips
 -Erik

21 years agoUse bits/kernel_stat.h, not asm/stat.h
Eric Andersen [Sat, 24 Aug 2002 01:32:27 +0000 (01:32 -0000)]
Use bits/kernel_stat.h, not asm/stat.h
 -Erik

21 years agoIgnore generated stuff
Eric Andersen [Sat, 24 Aug 2002 01:24:30 +0000 (01:24 -0000)]
Ignore generated stuff

21 years agoBreak dependancy of bits/types.h on the asm/posix_types.h kernel
Eric Andersen [Sat, 24 Aug 2002 01:07:33 +0000 (01:07 -0000)]
Break dependancy of bits/types.h on the asm/posix_types.h kernel
header, which is not directly usable for many architectures.
 -Erik

21 years agoBreak dependancy of bits/types.h on the asm/posix_types.h kernel
Eric Andersen [Sat, 24 Aug 2002 00:58:12 +0000 (00:58 -0000)]
Break dependancy of bits/types.h on the asm/posix_types.h kernel
header, which is not directly usable for many architectures.
 -Erik

21 years agoSplit out the definition of struct stat into the new arch
Eric Andersen [Fri, 23 Aug 2002 23:31:13 +0000 (23:31 -0000)]
Split out the definition of struct stat into the new arch
specific bits/kernel_stat.h file.
 -Erik

21 years agoFix broken link
Eric Andersen [Fri, 23 Aug 2002 19:03:57 +0000 (19:03 -0000)]
Fix broken link

21 years agoSplit out the arch dependant errno_values.h junk into arch dependant files.
Eric Andersen [Fri, 23 Aug 2002 18:48:19 +0000 (18:48 -0000)]
Split out the arch dependant errno_values.h junk into arch dependant files.
 -Erik

21 years agoIgnore generated binaries
Eric Andersen [Fri, 23 Aug 2002 18:25:29 +0000 (18:25 -0000)]
Ignore generated binaries

21 years ago(initfini.s): Search the uClibc include dir, so we can find <features.h>.
Miles Bader [Fri, 23 Aug 2002 06:31:26 +0000 (06:31 -0000)]
(initfini.s): Search the uClibc include dir, so we can find <features.h>.

21 years agoRework struct stat/stat64 handling to eliminate kernel headers
Eric Andersen [Thu, 22 Aug 2002 18:57:08 +0000 (18:57 -0000)]
Rework struct stat/stat64 handling to eliminate kernel headers
 -Erik

21 years agoRework errno handling to be kernel header free
Eric Andersen [Thu, 22 Aug 2002 18:53:56 +0000 (18:53 -0000)]
Rework errno handling to be kernel header free
 -Erik

21 years agoSupport _syscall6 and _syscall7 for arm
Eric Andersen [Thu, 22 Aug 2002 17:01:19 +0000 (17:01 -0000)]
Support _syscall6 and _syscall7 for arm
 -Erik

21 years agoHide .hidden stuff unless explicitly enabled
Eric Andersen [Thu, 22 Aug 2002 12:03:53 +0000 (12:03 -0000)]
Hide .hidden stuff unless explicitly enabled
 -Erik

21 years agoRevert mode_t change. Sigh. As Manuel so eloquently put it: "this is the way
Eric Andersen [Wed, 21 Aug 2002 00:54:52 +0000 (00:54 -0000)]
Revert mode_t change.  Sigh.  As Manuel so eloquently put it: "this is the way
we hose our code... hose our code... hose our code...  this is the way we hose
our code... all thanks to glibc"
 -Erik

21 years agomode_t was being promoted to an int by gcc's __builtin_va_arg, causing bad
Eric Andersen [Wed, 21 Aug 2002 00:00:45 +0000 (00:00 -0000)]
mode_t was being promoted to an int by gcc's __builtin_va_arg, causing bad
things to happen.  This makes it explicit, so pthread using apps are no longer
broken...
 -Erik

21 years agoRemove some noise
Eric Andersen [Tue, 20 Aug 2002 23:57:16 +0000 (23:57 -0000)]
Remove some noise

21 years agoStupid cut-n-paste error
Eric Andersen [Tue, 20 Aug 2002 22:49:57 +0000 (22:49 -0000)]
Stupid cut-n-paste error

21 years agoUnlike glibc, uClibc doesn't always support the d_type field of
Manuel Novoa III [Tue, 20 Aug 2002 22:41:58 +0000 (22:41 -0000)]
Unlike glibc, uClibc doesn't always support the d_type field of
struct dirent.  So, disable the d_type support macros when d_type
isn't available.  This fixes a build problem file fileutils-4.1.

21 years agoOnly build libthread_db when both threads and debug are enabled
Eric Andersen [Tue, 20 Aug 2002 15:42:35 +0000 (15:42 -0000)]
Only build libthread_db when both threads and debug are enabled
 -Erik

21 years agoEliminate wrapping of struct stat and use the kernel version
Eric Andersen [Mon, 19 Aug 2002 18:04:25 +0000 (18:04 -0000)]
Eliminate wrapping of struct stat and use the kernel version
directly.  Eliminate all the attendant baggage.  Fix internal
types to match kernel types more closely.
 -Erik

21 years agoFixup struct _res handling so apps using struct _res can actually
Eric Andersen [Mon, 19 Aug 2002 11:07:21 +0000 (11:07 -0000)]
Fixup struct _res handling so apps using struct _res can actually
compile ("worst standard ever!")
 -Erik

21 years agoSuperH config update
Eric Andersen [Mon, 19 Aug 2002 10:25:19 +0000 (10:25 -0000)]
SuperH config update

21 years agomissed const-ifying this one.
Eric Andersen [Mon, 19 Aug 2002 10:24:54 +0000 (10:24 -0000)]
missed const-ifying this one.

21 years agosome updates from Stefan Allius to make up the SuperH shared lib
Eric Andersen [Mon, 19 Aug 2002 10:22:38 +0000 (10:22 -0000)]
some updates from Stefan Allius to make up the SuperH shared lib
loader build properly.  Mostly just sprinkling casts, and making
static some things that should be static.

21 years agoAdd a .note section to make gdb happy
Eric Andersen [Mon, 19 Aug 2002 10:19:17 +0000 (10:19 -0000)]
Add a .note section to make gdb happy

21 years agoCall the pthread setup junk early if possible.
Eric Andersen [Mon, 19 Aug 2002 10:10:01 +0000 (10:10 -0000)]
Call the pthread setup junk early if possible.

21 years agoWork from Stefan Allius which allows superH to use the common
Eric Andersen [Mon, 19 Aug 2002 10:07:41 +0000 (10:07 -0000)]
Work from Stefan Allius which allows superH to use the common
method for building crti.o and crtn.o

21 years agoBased on work by Stefan Allius, arrange for early initialization of
Eric Andersen [Mon, 19 Aug 2002 10:05:03 +0000 (10:05 -0000)]
Based on work by Stefan Allius, arrange for early initialization of
pthread stuff.  Also, don't bother building libthread_db unless we
are debugging.
 -Erik

21 years agoOpen a lib that is not so closely coupled with gdb
Eric Andersen [Mon, 19 Aug 2002 10:01:33 +0000 (10:01 -0000)]
Open a lib that is not so closely coupled with gdb

21 years agoBe prepared to call __pthread_initialize_minimal
Eric Andersen [Mon, 19 Aug 2002 08:56:59 +0000 (08:56 -0000)]
Be prepared to call __pthread_initialize_minimal

21 years ago(CSRC): Make contents source files, not object files.
Miles Bader [Mon, 19 Aug 2002 08:49:22 +0000 (08:49 -0000)]
(CSRC): Make contents source files, not object files.

21 years ago(CSRC): Add `memalign.c'.
Miles Bader [Mon, 19 Aug 2002 08:48:08 +0000 (08:48 -0000)]
(CSRC): Add `memalign.c'.

21 years agoInitial checkin.
Miles Bader [Mon, 19 Aug 2002 08:46:34 +0000 (08:46 -0000)]
Initial checkin.

21 years ago(realloc): Follow new arg conventions of MALLOC_SET_SIZE.
Miles Bader [Mon, 19 Aug 2002 08:45:22 +0000 (08:45 -0000)]
(realloc): Follow new arg conventions of MALLOC_SET_SIZE.

21 years ago(malloc): Use MALLOC_SETUP.
Miles Bader [Mon, 19 Aug 2002 08:44:11 +0000 (08:44 -0000)]
(malloc): Use MALLOC_SETUP.

21 years ago(MALLOC_SETUP): New macro.
Miles Bader [Mon, 19 Aug 2002 08:43:30 +0000 (08:43 -0000)]
(MALLOC_SETUP): New macro.
(MALLOC_SET_SIZE): Take the base-address of the block, not the user-address.
(MALLOC_ADDR): Macro removed.

21 years agoDirectly use kernel types for uid_t, gid_t, and dev_t to avoid the
Eric Andersen [Sun, 18 Aug 2002 21:08:34 +0000 (21:08 -0000)]
Directly use kernel types for uid_t, gid_t, and dev_t to avoid the
need to translate these entities...
 -Erik

21 years agoYet more rework to make __getgrent and the functions that use it
Eric Andersen [Sun, 18 Aug 2002 18:50:52 +0000 (18:50 -0000)]
Yet more rework to make __getgrent and the functions that use it
reentrant...
 -Erik

21 years agoFix broken locking so that at least the Python 2.2.1 grp test doesn't
Manuel Novoa III [Sun, 18 Aug 2002 00:24:25 +0000 (00:24 -0000)]
Fix broken locking so that at least the Python 2.2.1 grp test doesn't
lock up.  This really needs to be looked at, as I don't think this
needs to be reentrant.  In any case, several routines call the
__getgrent internal routine and it uses static vars for data.  If this
stuff is really supposed to be threadsafe, then __getgrent probably
needs fixing.

21 years agoRemove recursive lock/unlock for a non-recursive mutex.
Manuel Novoa III [Sun, 18 Aug 2002 00:21:45 +0000 (00:21 -0000)]
Remove recursive lock/unlock for a non-recursive mutex.

21 years agoFixed __read_etc_hosts_r to return alias list and modified buffer
Manuel Novoa III [Sat, 17 Aug 2002 21:28:29 +0000 (21:28 -0000)]
Fixed __read_etc_hosts_r to return alias list and modified buffer
allocation accordingly.  This fixes the segfault in the Python 2.2.1
socket test.

21 years agoFix two problems with printf that showed up in the python 2.2.1 tests;
Manuel Novoa III [Sat, 17 Aug 2002 00:35:15 +0000 (00:35 -0000)]
Fix two problems with printf that showed up in the python 2.2.1 tests;
One involving %o and one involving %f.

21 years agoDisable macro implementations. Somehow I missed the following from the
Manuel Novoa III [Fri, 16 Aug 2002 18:35:07 +0000 (18:35 -0000)]
Disable macro implementations.  Somehow I missed the following from the
ANSI/ISO C99 std...

A library macro that masks a function declaration expands to an
expression that evaluates each of its arguments once (and only once).
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Arguments that have side effects evaluate the same way whether the
expression executes the macro expansion or calls the function. Macros
for the functions getc and putc are explicit exceptions to this rule.
Their stream arguments can be evaluated more than once. Avoid argument
expressions that have side effects with these macros.

This will be reworked before the next release.  And yes, I feel stupid.

21 years agoCleanup exit a bit, from Ronald Wahl
Eric Andersen [Fri, 16 Aug 2002 14:17:46 +0000 (14:17 -0000)]
Cleanup exit a bit, from Ronald Wahl

21 years agowhitespace
Miles Bader [Fri, 16 Aug 2002 09:02:40 +0000 (09:02 -0000)]
whitespace

21 years agoRemove __res_state function.
Miles Bader [Fri, 16 Aug 2002 08:56:23 +0000 (08:56 -0000)]
Remove __res_state function.

21 years agoMake INCLUDE_FULL_RPC default to !HAVE_SHARED.
Miles Bader [Fri, 16 Aug 2002 08:53:15 +0000 (08:53 -0000)]
Make INCLUDE_FULL_RPC default to !HAVE_SHARED.

21 years agoDemonstrate that dlopen() RTLD_NOW is currently broken.
Eric Andersen [Fri, 16 Aug 2002 08:02:17 +0000 (08:02 -0000)]
Demonstrate that dlopen() RTLD_NOW is currently broken.
 -Erik

21 years agoRemove thread-specific stuff entirely.
Miles Bader [Fri, 16 Aug 2002 06:30:30 +0000 (06:30 -0000)]
Remove thread-specific stuff entirely.

21 years ago(_res): Define as a macro if __UCLIBC_HAS_THREADS__ is defined,
Miles Bader [Fri, 16 Aug 2002 05:45:24 +0000 (05:45 -0000)]
(_res): Define as a macro if __UCLIBC_HAS_THREADS__ is defined,
regardless of _LIBC.

21 years ago(h_errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.
Miles Bader [Fri, 16 Aug 2002 05:37:11 +0000 (05:37 -0000)]
(h_errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.
(__set_h_errno): Just assign to `h_errno' (which will be expanded to the
thread-friendly version when appropriate).

21 years ago(errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.
Miles Bader [Fri, 16 Aug 2002 05:02:02 +0000 (05:02 -0000)]
(errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.
(__set_errno): Just assign to `errno' (which will be expanded to the
thread-friendly version when appropriate).

21 years agoReplace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__
Eric Andersen [Fri, 16 Aug 2002 04:49:08 +0000 (04:49 -0000)]
Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__
 -Erik

21 years agoRemove h8300 special case
Eric Andersen [Fri, 16 Aug 2002 04:36:44 +0000 (04:36 -0000)]
Remove h8300 special case