bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#64811: bug#64811: Win-version now broken


From: Gisle Vanem
Subject: [bug-diffutils] bug#64811: bug#64811: Win-version now broken
Date: Tue, 1 Aug 2023 11:59:53 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Paul Eggert wrote:

in my test:
   diff --recursive <rel-dir-1> <rel-dir-2>

does not work.

What are the failure symptoms?

Is this something you can debug? I don't use MS-Windows and won't be of much help on that platform. My guess would be in the fdopendir area; perhaps that guess will help you debug.

Correct.

Now I've made a simple test-program for 'openat()' based
on the examples at:
   https://pubs.opengroup.org/onlinepubs/9699919799/functions/fdopendir.html

A simple 'du' clone; attached.

I found 2 issues which I believe is related to this problem
on Windows:
   1) 'open()' + 'fdopendir()' can NOT contain '\\' slashes.
   2) 'openat()' MUST be given a fully qualified pathname.
      A relative dir like ' dp->d_name' does not work.

What does this tell you guys about the 'diff --recursive'
behaviour on Windows?


--
--gv

Attachment: fdopen-test.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]