Project

General

Profile

Bug #17626 ยป ruby-w32_utimensat.patch

xtkoba (Tee KOBAYASHI), 02/14/2021 02:19 AM

View differences:

win32/win32.c
static int
w32_utimensat(int dirfd, const char *path, const struct timespec *times, int flags, UINT cp)
{
WCHAR *wpath = mbstr_to_wstr(filecp(), path, -1, NULL);
WCHAR *wpath = mbstr_to_wstr(cp, path, -1, NULL);
int ret = -1;
if (wpath) {
    (1-1/1)