Follow-up Comment #2, bug #67517 (group make):

Yes, I see.  The reason is that we use glob(3) to do the filename matching,
and if the globbing expression matches a name then the name is returned with
the escaping removed.  So if the file exists, the glob matches, and the escape
is removed.

If nothing matches, then we use the filename we were provided (that contains
the escapes).  So if the file doesn't exist, the glob doesn't match, and we
use the original with escapes.

Obviously this is not a good situation since it's non-deterministic.  The
problem is I'm not sure how the obvious solution (remove the escaping if the
file is not found) will work on systems like Windows.  I'll need to test that.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67517>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to