summaryrefslogtreecommitdiffstats
path: root/lib/libc/time/asctime.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-031-2/+2
|
* Move #includes from private.h to the .c files that need them, getting rid ofguenther2015-10-241-1/+4
| | | | | | several. Switch from FILENAME_MAX to PATH_MAX (it's for open(), not fopen()). ok deraadt@ tedu@ krw@
* Wrap <time.h> so that internal calls go direct and symbols not in C99 are weakguenther2015-09-121-1/+3
| | | | | | Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to reduce noise with -Wmissing-prototypes Eliminate unnecessary #includes
* knf indents to give me a fighting chance at differentiating new blockstedu2015-02-161-10/+12
| | | | from continuation lines, of which there are many
* drop an ansi bomb on the function definitionstedu2015-02-161-10/+4
|
* - register int idays; /* unsigned would be so 2003 */tedu2015-02-091-5/+5
| | | | | | + int idays; /* unsigned would be so 2003 */ register is so 1973
* move include lines around a bittedu2015-02-091-3/+1
|
* this removes just a few ifdef checks for things that should always be enabled,tedu2015-02-091-13/+2
| | | | | | | | | and which we definitely don't want to workaround. no change in the compiled code (yet). some of these, like the first chunk are plain silly. the compiler used to compile asctime has nothing to do with the format strings strftime should support. ok deraadt
* update to tzcode2010k from elsie.nci.nih.gov; OK miod@millert2010-08-231-1/+6
|
* Update to tzcode2007a. This adds support for 64bit time_t in casemillert2007-02-061-2/+11
| | | | | | | | | we need it in the future. All of our platforms currently have 32bit time_t types. This also extends the timezone data file format to support both 32bit and 64bit data. The 64bit data is located after the 32bit data so binaries linked with the older tzcode simply won't look at it. A version field in the file header is used to determine whether the data file is the old or extended format. OK miod@
* Update to tzcode2006a; primarily just cast and const fixes.millert2006-02-181-2/+2
|
* zap remaining rcsid.espie2005-08-081-5/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* Update to tzcode2005j.millert2005-07-051-13/+24
|
* Always remember to check snprintf return value for -1.cloder2005-03-061-2/+2
| | | | OK hshoexer, jsg, otto, krw
* Explicitly leave room for the NUL byte in {wday,mon}_name; Francois Perradmillert2005-03-021-3/+3
|
* uses %ld, so pass the already present long instead of an int, should fixdhartmei2004-10-281-2/+2
| | | | PR 3970. ok miod@, deraadt@
* Update to tzcode2004e from elsie.nci.nih.govmillert2004-10-181-23/+76
|
* _THREAD_PRIVATE_* macros changedd2000-01-061-2/+2
|
* tzcode1999a from ftp://elsie.nci.nih.gov/pub - merge with libc_r stuffd1999-01-291-15/+11
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-12/+35
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* tzcode1998b from ftp://elsie.nci.nih.gov/pubmillert1998-01-181-6/+3
|
* Update to tzcode1996o + our fixes. Fixes problem pointed outmillert1997-01-141-1/+10
| | | | by cross@va.pubnix.com.
* Fix RCS idstholo1996-08-191-7/+3
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+58