mailing list of musl libc
 help / color / mirror / code / Atom feed
6955f2d8ca9c1782066dc4cda044dfc0ff06e648 blob 132 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
 
#include <time.h>

char *ctime(const time_t *t)
{
	struct tm * tm = localtime(t);
	if (!tm) {
		return 0;
	}
	return asctime(tm);
}
debug log:

solving 6955f2d ...
found 6955f2d in https://inbox.vuxu.org/musl/1497545016-22965-1-git-send-email-oaanson@gmail.com/
found 185ec55 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 185ec5543b958e04ff7560ae333ed7cac61a9c2c	src/time/ctime.c

applying [1/1] https://inbox.vuxu.org/musl/1497545016-22965-1-git-send-email-oaanson@gmail.com/
diff --git a/src/time/ctime.c b/src/time/ctime.c
index 185ec55..6955f2d 100644

Checking patch src/time/ctime.c...
Applied patch src/time/ctime.c cleanly.

index at:
100644 6955f2d8ca9c1782066dc4cda044dfc0ff06e648	src/time/ctime.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).