mailing list of musl libc
 help / color / mirror / code / Atom feed
13ddb89d413ddceff8d226b6871872f91ec19b74 blob 325 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
#include <time.h>
#include <errno.h>

int __clock_gettime(clockid_t clk, struct timespec *ts);

int clock_gettime(clockid_t clk, struct timespec *ts)
{
	int r = __clock_gettime(clk, ts);
	/* In case of -1 lower levels already have already taken care
	* of setting errno. */
	if (r >= -1) return r;
	errno = -r;
	return -1;
}
debug log:

solving 13ddb89 ...
found 13ddb89 in https://inbox.vuxu.org/musl/e055ebf55ff719cd25cb1446a642c8c032475223.1409524413.git.Jens.Gustedt@inria.fr/
found 799251d in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 799251d8a7c7cab612dc620fb0ceabd10797b4c2	src/time/clock_gettime.c

applying [1/1] https://inbox.vuxu.org/musl/e055ebf55ff719cd25cb1446a642c8c032475223.1409524413.git.Jens.Gustedt@inria.fr/
diff --git a/src/time/clock_gettime.c b/src/time/clock_gettime.c
index 799251d..13ddb89 100644

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

index at:
100644 13ddb89d413ddceff8d226b6871872f91ec19b74	src/time/clock_gettime.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).