OSDN Git Service

uclinux-h8/uclibc-ng.git
21 years agoAdd a default for sh
Eric Andersen [Fri, 8 Nov 2002 04:56:45 +0000 (04:56 -0000)]
Add a default for sh

21 years agoAdd notes about setvbuf and struct tm extension fields tm_gmtoff and tm_zone.
Manuel Novoa III [Fri, 8 Nov 2002 04:34:06 +0000 (04:34 -0000)]
Add notes about setvbuf and struct tm extension fields tm_gmtoff and tm_zone.

21 years agoAdded some temporary "stubs" for collation.
Manuel Novoa III [Fri, 8 Nov 2002 04:21:58 +0000 (04:21 -0000)]
Added some temporary "stubs" for collation.
  strcoll is an alias for strcmp.
  strxfrm is an alias for strlcpy.
  wcscoll is an alias for wcscmp.
  wcsxfrm is implemented as a wchar version of strlcpy.
Real locale-dependent implementations are coming soon.

21 years agoCleanup everything
Eric Andersen [Fri, 8 Nov 2002 03:33:50 +0000 (03:33 -0000)]
Cleanup everything

21 years agoAdd wcwidth and wcswidth, based on Markus Kuhn's wcwidth of 2002-05-08.
Manuel Novoa III [Fri, 8 Nov 2002 03:32:34 +0000 (03:32 -0000)]
Add wcwidth and wcswidth, based on Markus Kuhn's wcwidth of 2002-05-08.
  Added some size/speed optimizations and integrated it into my locale
  framework.  Minimally tested at the moment, but the stub C-locale
  version (which most people would probably be using) should be fine.

21 years agoLeave ldso debugging off by default
Eric Andersen [Fri, 8 Nov 2002 03:22:57 +0000 (03:22 -0000)]
Leave ldso debugging off by default

21 years agoFix a silly compile bug
Eric Andersen [Fri, 8 Nov 2002 03:20:59 +0000 (03:20 -0000)]
Fix a silly compile bug

21 years agoDoh! Leave ldso debugging off by default..
Eric Andersen [Fri, 8 Nov 2002 03:11:58 +0000 (03:11 -0000)]
Doh!  Leave ldso debugging off by default..

21 years agoConstruct a default arm configuration
Eric Andersen [Fri, 8 Nov 2002 03:00:13 +0000 (03:00 -0000)]
Construct a default arm configuration

21 years agoSome minor changes from Stefan Allius to make conf and
Eric Andersen [Fri, 8 Nov 2002 02:28:40 +0000 (02:28 -0000)]
Some minor changes from Stefan Allius to make conf and
mconf compile under Solaris.

21 years agoAnother SuperH patch from Stefan Allius. This make it so
Eric Andersen [Fri, 8 Nov 2002 02:18:16 +0000 (02:18 -0000)]
Another SuperH patch from Stefan Allius.  This make it so
the SuperH lib loader can be compiled by GCC 3.3

21 years agoUpdate the docs
Eric Andersen [Fri, 8 Nov 2002 02:12:35 +0000 (02:12 -0000)]
Update the docs

21 years agoLarge cleanup patch, based in large part on a patch from
Eric Andersen [Fri, 8 Nov 2002 01:58:45 +0000 (01:58 -0000)]
Large cleanup patch, based in large part on a patch from
Stefan Allius, which adds a great deal of sanity.

21 years agoMerge an update from upstream
Eric Andersen [Fri, 8 Nov 2002 00:47:07 +0000 (00:47 -0000)]
Merge an update from upstream

21 years agoUpdate doc reference
Eric Andersen [Fri, 8 Nov 2002 00:17:44 +0000 (00:17 -0000)]
Update doc reference

21 years agoChanges for MIPS and new configuration system.
"Steven J. Hill" [Thu, 7 Nov 2002 21:58:06 +0000 (21:58 -0000)]
Changes for MIPS and new configuration system.

21 years agoFix target determination for MIPSEL.
"Steven J. Hill" [Thu, 7 Nov 2002 21:07:56 +0000 (21:07 -0000)]
Fix target determination for MIPSEL.

21 years agoRemove atof from strtod.o...
Manuel Novoa III [Thu, 7 Nov 2002 19:45:54 +0000 (19:45 -0000)]
Remove atof from strtod.o...

21 years agoOkay, fix for atof _correctly_...
Manuel Novoa III [Thu, 7 Nov 2002 19:43:29 +0000 (19:43 -0000)]
Okay, fix for atof _correctly_...

21 years agoApparently I forgot to build atof...
Manuel Novoa III [Thu, 7 Nov 2002 19:40:37 +0000 (19:40 -0000)]
Apparently I forgot to build atof...

21 years agoFixup function prototype for __uint128_t which fixes the compile
Eric Andersen [Thu, 7 Nov 2002 18:33:49 +0000 (18:33 -0000)]
Fixup function prototype for __uint128_t which fixes the compile
on powerpc with gcc 3.2.
 -Erik

21 years agoFixed makefiles to remove binaries generated for the configuration
"Steven J. Hill" [Thu, 7 Nov 2002 17:49:07 +0000 (17:49 -0000)]
Fixed makefiles to remove binaries generated for the configuration
menu system when doing a 'make clean'.

21 years agoAdd missing blank line
Eric Andersen [Thu, 7 Nov 2002 05:27:54 +0000 (05:27 -0000)]
Add missing blank line

21 years agoRename `Config.v850e' to `Config.v850'.
Miles Bader [Thu, 7 Nov 2002 05:03:04 +0000 (05:03 -0000)]
Rename `Config.v850e' to `Config.v850'.

21 years ago(UCLIBC_HAS_MMU): Depend on !ARCH_HAS_NO_MMU, rather than just using it
Miles Bader [Thu, 7 Nov 2002 05:02:26 +0000 (05:02 -0000)]
(UCLIBC_HAS_MMU): Depend on !ARCH_HAS_NO_MMU, rather than just using it
  to set the default.
(HAS_FPU): Depend on !ARCH_HAS_NO_FPU.
(USE_GCC_SOFT_FLOAT_OPTION): New option.

21 years ago(DOPIC): Depend on !HAVE_NO_PIC.
Miles Bader [Thu, 7 Nov 2002 05:00:45 +0000 (05:00 -0000)]
(DOPIC): Depend on !HAVE_NO_PIC.
(UCLIBC_HAS_FULL_RPC): default to `y' if !HAVE_SHARED.
(SYSTEM_LDSO): Depend on HAVE_SHARED.
(DOASSERTS): New option.

21 years ago* Make -DNDEBUG depend on DOASSERTS, not DODEBUG
Miles Bader [Thu, 7 Nov 2002 04:58:27 +0000 (04:58 -0000)]
* Make -DNDEBUG depend on DOASSERTS, not DODEBUG
* Make -msoft-float depend on USE_GCC_SOFT_FLOAT_OPTION, not
  UCLIBC_HAS_SOFT_FLOAT.

21 years agoUpdate soft-float handling
Eric Andersen [Wed, 6 Nov 2002 20:16:27 +0000 (20:16 -0000)]
Update soft-float handling

21 years agoIncrease maximum .config line size to 1024.
Eric Andersen [Wed, 6 Nov 2002 18:49:33 +0000 (18:49 -0000)]
Increase maximum .config line size to 1024.

21 years agoRecognize 'n' tristate/boolean symbol value in the .config file,
Eric Andersen [Wed, 6 Nov 2002 18:38:24 +0000 (18:38 -0000)]
Recognize 'n' tristate/boolean symbol value in the .config file,
allowing more convenient manual editing of the .config file.  Patch
by Petr Baudis, skimmed from linux-kernel mailing list.

21 years agoFix up a compile error
Eric Andersen [Wed, 6 Nov 2002 16:33:29 +0000 (16:33 -0000)]
Fix up a compile error

21 years agoCleanup patch from Simon Rowe
Eric Andersen [Wed, 6 Nov 2002 15:19:05 +0000 (15:19 -0000)]
Cleanup patch from Simon Rowe

21 years agoForgot to change btowc and wctob when I changed the wc<->mb functions yesterday.
Manuel Novoa III [Tue, 5 Nov 2002 22:38:29 +0000 (22:38 -0000)]
Forgot to change btowc and wctob when I changed the wc<->mb functions yesterday.

21 years agoFor now, leave the "Oddly enough, __fsetlocking() is NOT threadsafe."
Eric Andersen [Tue, 5 Nov 2002 21:23:04 +0000 (21:23 -0000)]
For now, leave the "Oddly enough, __fsetlocking() is NOT threadsafe."
comment as an mjn3 only item.

21 years agoCleanup soft-float support
Eric Andersen [Tue, 5 Nov 2002 21:17:23 +0000 (21:17 -0000)]
Cleanup soft-float support

21 years agoFixup handling of disabled options
Eric Andersen [Tue, 5 Nov 2002 21:06:51 +0000 (21:06 -0000)]
Fixup handling of disabled options

21 years agoFix gcc-uClibc.h dependancies
Eric Andersen [Tue, 5 Nov 2002 20:30:38 +0000 (20:30 -0000)]
Fix gcc-uClibc.h dependancies

21 years agoMassive scrubbing of the shared lib loader error handling.
Eric Andersen [Tue, 5 Nov 2002 18:21:12 +0000 (18:21 -0000)]
Massive scrubbing of the shared lib loader error handling.
Move all configuration options into the new config system.
 -Erik

21 years agoA patch from Danny Lepage so that we do not setting on symlinks
Eric Andersen [Tue, 5 Nov 2002 16:28:56 +0000 (16:28 -0000)]
A patch from Danny Lepage so that we do not setting on symlinks
when looking for a device match, and instead keep looking till
we find the correct device.

21 years agoExpand NIS comments
Eric Andersen [Tue, 5 Nov 2002 15:58:25 +0000 (15:58 -0000)]
Expand NIS comments

21 years agoStandardize LIBGCC_DIR
Eric Andersen [Tue, 5 Nov 2002 05:56:27 +0000 (05:56 -0000)]
Standardize LIBGCC_DIR

21 years agoKill legacy DOPIC=true assignment
Eric Andersen [Tue, 5 Nov 2002 05:46:07 +0000 (05:46 -0000)]
Kill legacy DOPIC=true assignment

21 years agoPatch from Stefan Allius -- export LIBGCC
Eric Andersen [Tue, 5 Nov 2002 05:41:33 +0000 (05:41 -0000)]
Patch from Stefan Allius -- export LIBGCC

21 years agoPatch from Stefan Allius. Include CPU_CFLAGS when compiling
Eric Andersen [Tue, 5 Nov 2002 05:39:33 +0000 (05:39 -0000)]
Patch from Stefan Allius.  Include CPU_CFLAGS when compiling
initfini

21 years agoPatch from M. R. Brown to fix 'make defconfig'
Eric Andersen [Tue, 5 Nov 2002 05:02:53 +0000 (05:02 -0000)]
Patch from M. R. Brown to fix 'make defconfig'

21 years agoExport TARGET_ARCH
Eric Andersen [Tue, 5 Nov 2002 04:49:14 +0000 (04:49 -0000)]
Export TARGET_ARCH

21 years agoHit the highlights of glibc differences in my code. Not yet complete though.
Manuel Novoa III [Mon, 4 Nov 2002 22:21:26 +0000 (22:21 -0000)]
Hit the highlights of glibc differences in my code.  Not yet complete though.

21 years agoAdd printf wchar support for %lc (%C) and %ls (%S).
Manuel Novoa III [Mon, 4 Nov 2002 21:27:46 +0000 (21:27 -0000)]
Add printf wchar support for %lc (%C) and %ls (%S).
Require printf format strings to be valid multibyte strings beginning and
  ending in their initial shift state, as per the stds.

Fixed a bug in _wchar_wcsntoutf8s().  Don't store wcs position if dst is NULL.
Also, introduce an awful hack into _wchar_wcsntoutf8s() and wcsrtombs() in
  order to support %ls in printf.  See comments below for details.
Change behaviour of wc<->mb functions when in the C locale.  Now they do
  a 1-1 map for the range 0x80-UCHAR_MAX.  This is for backwards compatibility
  and consistency with the stds requirements that a printf format string by
  a valid multibyte string beginning and ending in it's initial shift state.

21 years agoThis fixes a broken build for me.
Manuel Novoa III [Mon, 4 Nov 2002 21:18:19 +0000 (21:18 -0000)]
This fixes a broken build for me.

21 years agoFixup so we use soft-float when HAS_FPU is disabled.
Eric Andersen [Mon, 4 Nov 2002 20:49:54 +0000 (20:49 -0000)]
Fixup so we use soft-float when HAS_FPU is disabled.
 -Erik

21 years agoI dunno why there were align 5, but align 4 is much more sensible.
Eric Andersen [Mon, 4 Nov 2002 20:27:47 +0000 (20:27 -0000)]
I dunno why there were align 5, but align 4 is much more sensible.

21 years agoKill sysdep.h and fixup the SH asm to not use it.
Eric Andersen [Mon, 4 Nov 2002 20:19:07 +0000 (20:19 -0000)]
Kill sysdep.h and fixup the SH asm to not use it.
 -Erik

21 years agoDon't use ENTRY(), make the asm explicit
Eric Andersen [Mon, 4 Nov 2002 19:52:28 +0000 (19:52 -0000)]
Don't use ENTRY(), make the asm explicit
 -Erik

21 years agoAdd link to search google's uclibc archive
Eric Andersen [Mon, 4 Nov 2002 18:36:55 +0000 (18:36 -0000)]
Add link to search google's uclibc archive

21 years agoOops. Fix compilation on arm.
Eric Andersen [Mon, 4 Nov 2002 15:06:25 +0000 (15:06 -0000)]
Oops.  Fix compilation on arm.
 -Erik

21 years agoA patch from Vincent Sanders to fix the arm implementation of
Eric Andersen [Sun, 3 Nov 2002 23:18:09 +0000 (23:18 -0000)]
A patch from Vincent Sanders to fix the arm implementation of
ioperm() and iopl()

21 years agoIt was easy enough to respect locale-specific decimal point for printf
Manuel Novoa III [Sun, 3 Nov 2002 21:00:15 +0000 (21:00 -0000)]
It was easy enough to respect locale-specific decimal point for printf
floating point output, so at least implement that.  But grouping will
have to wait for the rewrite of _dtostr.

21 years agoImplement locale-specific grouping in printf for base 10 integer conversions
Manuel Novoa III [Sun, 3 Nov 2002 20:13:27 +0000 (20:13 -0000)]
Implement locale-specific grouping in printf for base 10 integer conversions
when the grouping flag "'" is specified.  Grouping for floating point values
may wait until I do a rewrite of the floating pt to string code...

21 years agoSeveral SH lib loader patches by Stefan Allius <allius@atecom.com>
Eric Andersen [Sun, 3 Nov 2002 15:13:09 +0000 (15:13 -0000)]
Several SH lib loader patches by Stefan Allius <allius@atecom.com>
and "M. R. Brown" <mrbrown@0xd6.org>

21 years agoAnother update to initfini.awk and initfini.c from Stefan Allius
Eric Andersen [Sun, 3 Nov 2002 15:04:19 +0000 (15:04 -0000)]
Another update to initfini.awk and initfini.c from Stefan Allius
to hopefully address SH wierdness.  Now works on other architecture
properly as well.

21 years agoProperly prefix some symbols
Eric Andersen [Sun, 3 Nov 2002 15:01:18 +0000 (15:01 -0000)]
Properly prefix some symbols

21 years agoYet more config system updating.
Eric Andersen [Sun, 3 Nov 2002 14:59:00 +0000 (14:59 -0000)]
Yet more config system updating.

21 years agoPatch from M. R. Brown <mrbrown@0xd6.org> to get rid of
Eric Andersen [Sun, 3 Nov 2002 14:12:29 +0000 (14:12 -0000)]
Patch from M. R. Brown <mrbrown@0xd6.org> to get rid of
"depreciated multi-line string literals" warnings

21 years agoPatch from "Cho, Seong-Myun" <smcho@xecurenexus.com> to limit
Eric Andersen [Sun, 3 Nov 2002 14:04:05 +0000 (14:04 -0000)]
Patch from "Cho, Seong-Myun" <smcho@xecurenexus.com> to limit
things to the lower 16 bits of 'id'.

21 years agoUse "include_config" not "include-config"
Eric Andersen [Sun, 3 Nov 2002 13:22:00 +0000 (13:22 -0000)]
Use "include_config" not "include-config"

21 years agokill some ancient stuff that appears to be lingering
Eric Andersen [Sat, 2 Nov 2002 16:47:30 +0000 (16:47 -0000)]
kill some ancient stuff that appears to be lingering

21 years agoDefault to SH4
Eric Andersen [Sat, 2 Nov 2002 16:34:24 +0000 (16:34 -0000)]
Default to SH4

21 years agoupdate all the Config files for the various arches so they work with the new
Eric Andersen [Sat, 2 Nov 2002 16:24:12 +0000 (16:24 -0000)]
update all the Config files for the various arches so they work with the new
config system.  Hopefully I got everything here correct...
 -Erik

21 years agoUpdate TODO items
Eric Andersen [Sat, 2 Nov 2002 14:58:18 +0000 (14:58 -0000)]
Update TODO items

21 years agoA few cosmetic adjustments, and fixup the makefile a bit
Eric Andersen [Sat, 2 Nov 2002 04:09:13 +0000 (04:09 -0000)]
A few cosmetic adjustments, and fixup the makefile a bit

21 years agoFix PIC configuration, so shared libraries once again work
Eric Andersen [Sat, 2 Nov 2002 04:03:47 +0000 (04:03 -0000)]
Fix PIC configuration, so shared libraries once again work
 -Erik

21 years agoIt looks like I lost DEVEL_TOOL_PREFIX. Put it back.
Eric Andersen [Sat, 2 Nov 2002 01:47:55 +0000 (01:47 -0000)]
It looks like I lost DEVEL_TOOL_PREFIX.  Put it back.
 -Erik

21 years agoFix a stupid bug.
Manuel Novoa III [Fri, 1 Nov 2002 22:56:45 +0000 (22:56 -0000)]
Fix a stupid bug.

21 years agoReworked setlocale() return values and locale arg processing to
Manuel Novoa III [Fri, 1 Nov 2002 21:44:25 +0000 (21:44 -0000)]
Reworked setlocale() return values and locale arg processing to
  be more like glibc.  Applications expecting to be able to
  query locale settings should now work... at the cost of almost
  doubling the size of the setlocale object code.
Fixed a bug in the internal fixed-size-string locale specifier code.

21 years agoAdd a few more entries.
Manuel Novoa III [Fri, 1 Nov 2002 21:43:07 +0000 (21:43 -0000)]
Add a few more entries.

21 years agoWork around glibc brain-damage regarding nl_langinfo and {mon_}grouping
Manuel Novoa III [Fri, 1 Nov 2002 21:40:30 +0000 (21:40 -0000)]
Work around glibc brain-damage regarding nl_langinfo and {mon_}grouping
entries.

21 years agoFix udhcp link
Eric Andersen [Fri, 1 Nov 2002 14:18:44 +0000 (14:18 -0000)]
Fix udhcp link

21 years agoDon't assume i386
Eric Andersen [Fri, 1 Nov 2002 02:51:00 +0000 (02:51 -0000)]
Don't assume i386

21 years agoMake it so arch specific stuff can be simpler. Initial attempt at
Eric Andersen [Thu, 31 Oct 2002 23:26:31 +0000 (23:26 -0000)]
Make it so arch specific stuff can be simpler.  Initial attempt at
making CPU_CFLAGS, which should allow things to be optimized per-CPU
and/or per-system.
 -Erik

21 years agoOops. Kill generated binaries.
Eric Andersen [Thu, 31 Oct 2002 23:20:35 +0000 (23:20 -0000)]
Oops.  Kill generated binaries.

21 years agoSkip the dependancy on .config for now
Eric Andersen [Thu, 31 Oct 2002 20:08:26 +0000 (20:08 -0000)]
Skip the dependancy on .config for now

21 years agoFix a lingering reference to Config
Eric Andersen [Thu, 31 Oct 2002 20:06:14 +0000 (20:06 -0000)]
Fix a lingering reference to Config
 -Erik

21 years agoAllow 'make clean' on the test stuff to work with the new config system.
Eric Andersen [Thu, 31 Oct 2002 20:04:06 +0000 (20:04 -0000)]
Allow 'make clean' on the test stuff to work with the new config system.
 -Erik

21 years agoDon't force gcc 3.2 on the world
Eric Andersen [Thu, 31 Oct 2002 20:01:23 +0000 (20:01 -0000)]
Don't force gcc 3.2 on the world
 -Erik

21 years agoOk, this commit is _huge_ and its gonna change the world. I've
Eric Andersen [Thu, 31 Oct 2002 18:20:21 +0000 (18:20 -0000)]
Ok, this commit is _huge_ and its gonna change the world.  I've
been working on a new config system on and off for about 6 months
now, but I've never been fully satisfied.  Well, I'm finally am
happy with the new config system, so here it is.  This completely
removes the old uClibc configuration system, and replaces it with
an entirely new system based on LinuxKernelConf, from
    http://www.xs4all.nl/~zippel/lc/
As it turns out, Linus has just merged LinuxKernelConf into Linux
2.5.45, so it looks like I made the right choice.

I have thus far updated only x86.  I'll be updating the other
architectures shortly.
         -Erik

21 years agoIgnore generated stuff
Eric Andersen [Thu, 31 Oct 2002 12:45:05 +0000 (12:45 -0000)]
Ignore generated stuff

21 years agoAdd a simple realloc test
Eric Andersen [Thu, 31 Oct 2002 12:43:21 +0000 (12:43 -0000)]
Add a simple realloc test
 -Erik

21 years agoFixup script to avoid potential spurious whining over empty object files.
Eric Andersen [Thu, 31 Oct 2002 11:54:22 +0000 (11:54 -0000)]
Fixup script to avoid potential spurious whining over empty object files.
 -Erik

21 years agoUse '#ifdef __linux__' not '#ifdef linux'
Eric Andersen [Wed, 30 Oct 2002 20:53:18 +0000 (20:53 -0000)]
Use '#ifdef __linux__' not '#ifdef linux'

21 years agoUse a nifty macro to make testing gcc features simpler
Eric Andersen [Wed, 30 Oct 2002 06:52:34 +0000 (06:52 -0000)]
Use a nifty macro to make testing gcc features simpler
and easier to read.
 -Erik

21 years agoFix a couple of 'restrict' bugs in mbstowcs and wcstombs.
Manuel Novoa III [Tue, 29 Oct 2002 18:59:19 +0000 (18:59 -0000)]
Fix a couple of 'restrict' bugs in mbstowcs and wcstombs.

21 years agoFix a silly typo for Manuel
Eric Andersen [Tue, 29 Oct 2002 12:10:10 +0000 (12:10 -0000)]
Fix a silly typo for Manuel
 -Erik

21 years agoFor now, comment out the broken part
Eric Andersen [Tue, 29 Oct 2002 12:00:28 +0000 (12:00 -0000)]
For now, comment out the broken part

21 years agoRemove my horrible SH hack infavor of this fix for initfini.awk from
Eric Andersen [Tue, 29 Oct 2002 11:25:10 +0000 (11:25 -0000)]
Remove my horrible SH hack infavor of this fix for initfini.awk from
Stefan Allius <allius@atecom.com>, which does a better job.

21 years agoA patch from Arne Jonsson <arne.jonsson@i3micro.com>:
Eric Andersen [Tue, 29 Oct 2002 11:21:35 +0000 (11:21 -0000)]
A patch from Arne Jonsson <arne.jonsson@i3micro.com>:

    Attached are the changes we think is necessary in order to use user
    defined stacksizes for each thread. When testing I forgot to lower the
    PTHREAD_STACK_MIN to the lowest value used for the stacks, this caused
    stranged reboots.
    As said before, we are using uClinux 2.0.38 on a ARM7TDMI.

21 years agoAdd in a horrible hack that seems necessary for the Hitachi
Eric Andersen [Tue, 29 Oct 2002 05:28:15 +0000 (05:28 -0000)]
Add in a horrible hack that seems necessary for the Hitachi
SH processors to work properly.
 -Erik

21 years agoFix a problem in vasprintf (reported by vodz a while back) when built
Manuel Novoa III [Tue, 29 Oct 2002 01:47:39 +0000 (01:47 -0000)]
Fix a problem in vasprintf (reported by vodz a while back) when built
without custom stream support.  In that case, it is necessary to do
a va_copy.  Note: The affected code is not built in the stock config.
Also, make sure each va_copy has a matching va_end, as required by C99.

21 years agoANSI/ISO C99 requires assert() to write to stderr. This means that
Manuel Novoa III [Mon, 28 Oct 2002 21:29:21 +0000 (21:29 -0000)]
ANSI/ISO C99 requires assert() to write to stderr.  This means that
writing to STDERR_FILENO is insufficient, as the user could freopen
stderr.  It is also insufficient to output to fileno(stderr) since
this would fail in the custom stream case.  I didn't remove the
old code though, as it doesn't use stdio stream functionality
and is useful in debugging the stdio code.

21 years agoAllow timezone info to be specified in a file... /etc/TZ. Turned on by
Manuel Novoa III [Mon, 28 Oct 2002 19:01:15 +0000 (19:01 -0000)]
Allow timezone info to be specified in a file... /etc/TZ.  Turned on by
default for now.  From the comments...

* Defining __TIME_TZ_FILE causes tzset() to attempt to read the TZ value
* from the file /etc/TZ if the TZ env variable isn't set.  The file contents
* must be the intended value of TZ, followed by a newline.  No other chars,
* spacing, etc is allowed.  As an example, an easy way for me to init
* /etc/TZ appropriately would be:    echo CST6CDT > /etc/TZ

Also optimized timezone setting when the timezone string hasn't changed,
as well as fixed a minor buglet wrt SUSv3-allowed chars in TZ std and
dst fields.

21 years agoDefine TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, since
Miles Bader [Mon, 28 Oct 2002 08:34:38 +0000 (08:34 -0000)]
Define TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, since
  we've already chdir'ed to $(TOPDIR).