diff options
author | Werner Koch <[email protected]> | 2020-10-20 14:38:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-10-20 14:38:06 +0000 |
commit | 18e5dd7b03ced51611c9ba1345cf498a0aaf14a6 (patch) | |
tree | faeb1e27f9ffdb049f2e0dec728229d9fd7703b6 /tools/gpgtar-create.c | |
parent | Replace most calls to open by a new wrapper. (diff) | |
download | gnupg-18e5dd7b03ced51611c9ba1345cf498a0aaf14a6.tar.gz gnupg-18e5dd7b03ced51611c9ba1345cf498a0aaf14a6.zip |
Replace all calls to stat by gnupg_stat.
* common/sysutils.c (gnupg_stat): New.
* common/sysutils.h: Include sys/stat.h.
--
Yet another wrapper for Unicode support on Windows.
GnuPG-bug-id: 5098
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tools/gpgtar-create.c')
-rw-r--r-- | tools/gpgtar-create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpgtar-create.c b/tools/gpgtar-create.c index 0311a465b..d13b1dc7e 100644 --- a/tools/gpgtar-create.c +++ b/tools/gpgtar-create.c @@ -42,7 +42,7 @@ #include "gpgtar.h" #ifndef HAVE_LSTAT -#define lstat(a,b) stat ((a), (b)) +#define lstat(a,b) gnupg_stat ((a), (b)) #endif |