Subject: bug#78509: Coreutils' mv and cp 9.5 do not work properly on old PPC Mac OS X 10.4.11, Tiger

From: Peter Dyballa <[email-masked]>
Date: Fri, 23 May 2025 18:10:46 +0200

> Am 23.05.2025 um 16:52 schrieb Peter Dyballa <[email-masked]>:
> 
> So presumingly it's not renameatu() but rather lib/targetdir.c:61:target_directory_operand (char const *file, struct stat *st) that is faulty…

In modern macOS target_directory_operand() returns -1, target_dirfd_valid(-1) evaluates to FALSE and so

   463               target_dirfd = fd;

never happens, hence target_directory_operand() needs to be debugged – tomorrow!

--
Greetings

  Pete

Real Time, adj.:
Here and now, as opposed to fake time, which only occurs there and then.