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

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

int __sem_timedwait_time32(sem_t *sem, const struct timespec32 *restrict ts32)
{
	return sem_timedwait(sem, (&(struct timespec){
		.tv_sec = ts32->tv_sec, .tv_nsec = ts32->tv_nsec}));
}
debug log:

solving a27a41dc ...
found a27a41dc in https://inbox.vuxu.org/musl/20190802214433.GA25193@brightrain.aerifal.cx/

applying [1/1] https://inbox.vuxu.org/musl/20190802214433.GA25193@brightrain.aerifal.cx/
diff --git a/compat/time32/sem_timedwait_time32.c b/compat/time32/sem_timedwait_time32.c
new file mode 100644
index 00000000..a27a41dc

Checking patch compat/time32/sem_timedwait_time32.c...
Applied patch compat/time32/sem_timedwait_time32.c cleanly.

index at:
100644 a27a41dc8f470d00a0007b668b427b32e4a519b7	compat/time32/sem_timedwait_time32.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).