mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
gpg: Prepare for globing with UTF-8.
* g10/gpg.c (_dowildcard): Remove. (my_strusage): Enable wildcards using our new system. -- This patch actually removes the current globing using a mingw feature. We are not able to use this because it does not handle Unicode filenames. The plan is to implement this in init.c. This patch merely configures gpg to request globing. GnuPG-bug-id: 4398
This commit is contained in:
parent
deb6c94362
commit
8e15506d66
@ -77,10 +77,6 @@
|
||||
#define MY_O_BINARY 0
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
int _dowildcard = -1;
|
||||
#endif
|
||||
|
||||
enum cmd_and_opt_values
|
||||
{
|
||||
aNull = 0,
|
||||
@ -1196,6 +1192,10 @@ my_strusage( int level )
|
||||
p = zips;
|
||||
break;
|
||||
|
||||
case 95:
|
||||
p = "1"; /* <-- Enable globbing under Windows (see init.c) */
|
||||
break;
|
||||
|
||||
default: p = NULL;
|
||||
}
|
||||
return p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user