mailing list of musl libc
 help / color / mirror / code / Atom feed
32454ddcc46d4f17d78edfd8dad4029e1b228242 blob 293 bytes (raw)

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

struct utimbuf32 {
	time32_t actime;
	time32_t modtime;
};

int __utime_time32(const char *path, const struct utimbuf32 *times32)
{
	return utime(path, (&(struct utimbuf){
		.actime = times32->actime, .modtime = times32->modtime}));
}
debug log:

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

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

index at:
100644 32454ddcc46d4f17d78edfd8dad4029e1b228242	compat/time32/utime_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).