https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122677

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-11-13

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Surely the problem is that for an absolute path the first call to mkdir uses ""
as the argument, and that sets errno to something other than EEXIST, so we
break out of the loop without doing anything.

The answer is to skip past the first separator.

Reply via email to