Commits
Mihai Moldovan authored ce526e044d4
1 - | --- g10/passphrase.c.old 2016-04-22 09:30:18.000000000 +0200 |
2 - | +++ g10/passphrase.c 2016-08-30 03:16:32.000000000 +0200 |
3 - | |
4 - | infostr = xstrdup ( infostr ); |
5 - | } |
6 - | |
7 - | +#ifndef __APPLE__ |
8 - | if ( !(p = strchr (infostr, PATHSEP_C)) || p == infostr) |
9 - | { |
10 - | if (!try) |
11 - | |
12 - | while (*p && *p != PATHSEP_C) |
13 - | p++; |
14 - | prot = *p? atoi (p+1) : 0; |
15 - | +#else |
16 - | + pid = 0; |
17 - | + prot = 1; |
18 - | +#endif |
19 - | if (prot != 1) |
20 - | { |
21 - | if (!try) |