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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#define _GNU_SOURCE
#include "time32.h"
#include <time.h>
#include <sys/time.h>
#include <sys/stat.h>

int __lutimes_time32(const char *path, const struct timeval32 times32[2])
{
	return lutimes(path, ((struct timeval[2]){
		{.tv_sec = times32[0].tv_sec,.tv_usec = times32[0].tv_usec},
		{.tv_sec = times32[1].tv_sec,.tv_usec = times32[1].tv_usec}}));
}
debug log:

solving b418a2eb ...
found b418a2eb 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/lutimes_time32.c b/compat/time32/lutimes_time32.c
new file mode 100644
index 00000000..b418a2eb

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

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