|
From: | Gisle Vanem |
Subject: | [bug-diffutils] bug#64811: Win-version now broken |
Date: | Mon, 24 Jul 2023 13:18:32 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Bruno Haible wrote:
Gisle Vanem wrote:since the commit "diff: use openat, fstatat when recursive": https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=6bf2c33ea45c20061c13eeefebf2951eab79b61c any '--recursive' option has stopped working on Windows. AFAICS, since the 'openat()' seems unsupported on Windows (accessing '/proc/self/x' and other stuff).Does it work if you add the modules 'fstatat' and 'openat' to bootstrap.conf? These modules are supported on native Windows [1][2].
Off-course, otherwise diff.exe wouldn't have linked. Would it? I find that fstatat() + openat() on Windows works bad; from 'man fstatat' If pathname is absolute, then dirfd is ignored. So in my test: diff --recursive <rel-dir-1> <rel-dir-2> does not work. But a: diff --recursive <abs-dir-1> <abs-dir-2> does work! What could be the cause of this? Bruno, any GNUlib test for this case? -- --gv
[Prev in Thread] | Current Thread | [Next in Thread] |