History log of /openbsd-src/lib/libc/time/asctime.c (Results 1 – 24 of 24)
Revision Date Author Comments
# 515e489c 03-Jul-2019 deraadt <deraadt@openbsd.org>

snprintf/vsnprintf return < 0 on error, rather than -1.


# dbd4bd29 24-Oct-2015 guenther <guenther@openbsd.org>

Move #includes from private.h to the .c files that need them, getting rid of
several. Switch from FILENAME_MAX to PATH_MAX (it's for open(), not fopen()).

ok deraadt@ tedu@ krw@


# d17652bc 12-Sep-2015 guenther <guenther@openbsd.org>

Wrap <time.h> so that internal calls go direct and symbols not in C99 are weak
Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to
reduce noise with -Wmissing-prototypes
Elimi

Wrap <time.h> so that internal calls go direct and symbols not in C99 are weak
Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to
reduce noise with -Wmissing-prototypes
Eliminate unnecessary #includes

show more ...


# 6723c145 16-Feb-2015 tedu <tedu@openbsd.org>

knf indents to give me a fighting chance at differentiating new blocks
from continuation lines, of which there are many


# 8dc2b201 16-Feb-2015 tedu <tedu@openbsd.org>

drop an ansi bomb on the function definitions


# 6a6b658a 09-Feb-2015 tedu <tedu@openbsd.org>

- register int idays; /* unsigned would be so 2003 */
+ int idays; /* unsigned would be so 2003 */

register is so 1973


# a9cc4792 09-Feb-2015 tedu <tedu@openbsd.org>

move include lines around a bit


# 41a9d96c 09-Feb-2015 tedu <tedu@openbsd.org>

this removes just a few ifdef checks for things that should always be enabled,
and which we definitely don't want to workaround. no change in the compiled
code (yet).
some of these, like the first ch

this removes just a few ifdef checks for things that should always be enabled,
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

show more ...


# fe1566e0 23-Aug-2010 millert <millert@openbsd.org>

update to tzcode2010k from elsie.nci.nih.gov; OK miod@


# 6ee5f097 06-Feb-2007 millert <millert@openbsd.org>

Update to tzcode2007a. This adds support for 64bit time_t in case
we need it in the future. All of our platforms currently have 32bit
time_t types. This also extends the timezone data file format

Update to tzcode2007a. This adds support for 64bit time_t in case
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@

show more ...


# 22740e74 18-Feb-2006 millert <millert@openbsd.org>

Update to tzcode2006a; primarily just cast and const fixes.


# c2c925de 08-Aug-2005 espie <espie@openbsd.org>

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# 3f56448e 05-Jul-2005 millert <millert@openbsd.org>

Update to tzcode2005j.


# e25afde6 06-Mar-2005 cloder <cloder@openbsd.org>

Always remember to check snprintf return value for -1.
OK hshoexer, jsg, otto, krw


# 6a2eea03 02-Mar-2005 millert <millert@openbsd.org>

Explicitly leave room for the NUL byte in {wday,mon}_name; Francois Perrad


# 1237925b 28-Oct-2004 dhartmei <dhartmei@openbsd.org>

uses %ld, so pass the already present long instead of an int, should fix
PR 3970. ok miod@, deraadt@


# dfd58e64 18-Oct-2004 millert <millert@openbsd.org>

Update to tzcode2004e from elsie.nci.nih.gov


# 9f7cd00b 06-Jan-2000 d <d@openbsd.org>

_THREAD_PRIVATE_* macros changed


# 6772c1a2 29-Jan-1999 d <d@openbsd.org>

tzcode1999a from ftp://elsie.nci.nih.gov/pub - merge with libc_r stuff


# 92efb735 20-Nov-1998 d <d@openbsd.org>

Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10)
(more md stuff is needed for other libc/arch/*)
(setlogin is no longer a sp

Add thread-safety to libc, so that libc_r will build (on i386 at least).
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

show more ...


# 7c79c202 18-Jan-1998 millert <millert@openbsd.org>

tzcode1998b from ftp://elsie.nci.nih.gov/pub


# 0bce2915 14-Jan-1997 millert <millert@openbsd.org>

Update to tzcode1996o + our fixes. Fixes problem pointed out
by cross@va.pubnix.com.


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree