mailing list of musl libc
 help / color / mirror / code / Atom feed
c967d6a150fd10b9e070c27c3bc838365d35016c blob 297 bytes (raw)

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

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

/* the base argument is simply ignored, there is no other implemented
   value than TIME_UTC. */
int timespec_get(struct timespec * ts, int base) {
  return __clock_gettime(CLOCK_REALTIME, ts) < 0 ? 0 : base;
}
debug log:

solving bf78e5a ...
found bf78e5a in https://inbox.vuxu.org/musl/1406934677.8274.149.camel@eris.loria.fr/ ||
	https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/

applying [1/2] https://inbox.vuxu.org/musl/1406934677.8274.149.camel@eris.loria.fr/
diff --git a/src/time/timespec_get.c b/src/time/timespec_get.c\r
new file mode 100644\r
index 0000000..bf78e5a\r

1:7: trailing whitespace.
#include <time.h>\r
1:8: trailing whitespace.
\r
1:9: trailing whitespace.
int __clock_gettime(clockid_t clk, struct timespec *ts);\r
1:10: trailing whitespace.
\r
1:11: trailing whitespace.
/* the base argument is simply ignored, there is no other implemented\r
Checking patch src/time/timespec_get.c...
Applied patch src/time/timespec_get.c cleanly.
warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.

skipping https://inbox.vuxu.org/musl/1409177505.4476.75.camel@eris.loria.fr/ for bf78e5a
index at:
100644 c967d6a150fd10b9e070c27c3bc838365d35016c	src/time/timespec_get.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).