mescc: Mes C Library: Support GNU Tar: Add mktime stub, fix localtime stub.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 15 Jul 2019 09:58:21 +0000 (11:58 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 15 Jul 2019 09:58:21 +0000 (11:58 +0200)
commit0d3f1ed2ae3b5a74830979a9b9a7ca23ffba2078
treeef224fbe1d297fa520e1bf86ec00eee925900523
parentb97c59ff2177dd31919f9e592932ca21fc796bd1
mescc: Mes C Library: Support GNU Tar: Add mktime stub, fix localtime stub.

* include/time.h (mktime): Declare.
* lib/stub/mktime.c: New stub.
* lib/libc+gnu.c: Include it.
* lib/stub/localtime.c (localtime): Return pointer to static struct
tm.  Avoids segfaults.
build-aux/configure-lib.sh
include/time.h
lib/stub/localtime.c
lib/stub/mktime.c [new file with mode: 0644]