Re: Debugging du v9.3

2023-07-20 Thread Bruno Haible
Pádraig Brady wrote: > With the attached gnulib patch applied you should be able to build with: The patch looks good, except that in this .h file, function parameter names are typically omitted. So, the declaration should better read: void fts_cross_check (FTS const *); Bruno

Re: Debugging du v9.3

2023-07-20 Thread Pádraig Brady
On 19/07/2023 19:27, Saulius Krasuckas wrote: Hello, I am trying to build Coreutils-9.3 from source. [1] If I run ./configure && make, it builds. But I noticed that it calculates some things wrong. So I decided to enable some debugging. Any suggestions? Since I found none, I looked up at the

Re: Debugging du v9.3

2023-07-20 Thread Saulius Krasuckas
PS. To give more context, On 2023-07-19 21:27, Saulius Krasuckas wrote: Now if I clean the dir and run make CFLAGS="-DDU_DEBUG", it fails: ... the original issue is that du -hs calculates some dirs wrongly [3]. That happened on a quite rare and new platform called Midipix for Windows. For

Debugging du v9.3

2023-07-19 Thread Saulius Krasuckas
Hello, I am trying to build Coreutils-9.3 from source. [1] If I run ./configure && make, it builds. But I noticed that it calculates some things wrong. So I decided to enable some debugging. Any suggestions? Since I found none, I looked up at the source and noticed the DU_DEBUG define: [2]