[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34489: 25.2; pdb fails if directory contains '++'
From: |
Stefan Kangas |
Subject: |
bug#34489: 25.2; pdb fails if directory contains '++' |
Date: |
Tue, 2 Jul 2019 21:42:31 +0200 |
Eli Zaretskii <eliz@gnu.org> writes:
> Hmm... I wonder why the code bothers specifying the allowed characters
> explicitly, and in particular why it only allows ASCII characters.
>
> Does the code work if the directory has non-ASCII characters instead
> of "++"?
No, it breaks. For now, I've attached a patch to use "[:alnum:]",
which fixes that use case for me.
Regarding your first question, I'm not exactly sure why. Maybe we
could go as far as just doing "[[:print:]]*" for that part - or
simply ".*". What do you think?
Thanks,
Stefan Kangas
0001-Make-M-x-pdb-handle-more-valid-file-names.patch
Description: Text Data