summaryrefslogtreecommitdiff
path: root/libc/misc/time
AgeCommit message (Collapse)Author
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
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
2002-10-28Allow timezone info to be specified in a file... /etc/TZ. Turned on byManuel Novoa III
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.
2002-08-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken.
2002-08-03A couple of little cleanups I forgot to check in.Manuel Novoa III
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-06-18Add in thread locking for tzset() and associated data. Also, fix a bug soManuel Novoa III
that localtime_r() calls tzset() to initialize/update timezone data.
2002-06-17Commit the new time stuff, even though I haven't made it threadsafe yet.Manuel Novoa III
At least people can play with it. Also, fix a buglet in setenv.c.
2002-06-15time() is implemented in syscalls.cEric Andersen
-Erik
2002-05-23Cleanup slightlyEric Andersen
2002-05-11Begin the process of reworking the time functions for properEric Andersen
time zone and locale support (in theory). More work is still needed. -Erik
2002-03-15Add strptime, and commonize some locale stringsEric Andersen
-Erik
2002-02-05OOps.Eric Andersen
2002-02-02Add in a weak for __adjtimeEric Andersen
2002-01-09Fix duplicate of timezoneEric Andersen
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-20A few symbols needed for testingEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-09-06Patch from Andrew Ip <aip@cwlinux.com> to add ftime,Eric Andersen
allowing openssl to be built.
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-04-18Add missing time()Eric Andersen
2001-04-06Fix up more leftovers resultant from fixing _LIBCEric Andersen
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-03-20Fix from Jon Nelson for error in timezoneEric Andersen
-Erik
2001-03-19Add in the timezone global from time.h, from a patch byEric Andersen
Jon Nelson <jnelson@boa.org>
2001-02-09Remove times and all the foolishness surrounding it. There isEric Andersen
a syscall that does this, so use that. -Erik
2001-01-28Reduced code size; fixed ANSI bug for day -- 5 not 05; mode days and mons const.Manuel Novoa III
2001-01-15Reduce dependancies -- don't use sysconf() internal to libc.Eric Andersen
2001-01-12Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
2001-01-02Oops. left strftime.c in twice.Eric Andersen
2001-01-02Patch from James Graves <jgraves@deltamobile.com> to getEric Andersen
m68k started. Should be just sysdeps/linux/m68k left to hack at this point...
2000-11-04Fix doc blunder.Eric Andersen
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
2000-10-27More random fixes and additions.Eric Andersen
2000-10-23More reorg. A place for everything and everything in its place...Eric Andersen
2000-10-20Strip all object files of all non global symbols and .note andEric Andersen
.comment, saving a lot of space in the resultant binaries... -Erik
2000-10-12Makefile updateEric Andersen
2000-10-11Finish reorganizing things. At least I think I've finished.Eric Andersen
2000-10-09Bug ugly formatting updateEric Andersen
2000-10-07Dependancy updateEric Andersen
2000-10-04Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen
-Erik
2000-07-06Rework all the string handling. Make const stuff be constified.Eric Andersen
-Erik
2000-07-05Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen
It is getting closer... -Erik
2000-05-15Finished porting stuff to x86 and supporting the Linux 2.2 kernels.Erik Andersen
It now compiles.... -Erik
2000-05-14Some makefile updates to make it behave a bit better/consistently.Erik Andersen
-Erik
2000-05-14Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>Erik Andersen
to allow uC-libc to compile under x86. -Erik
2000-05-14Initial revisionErik Andersen