aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_wrappers.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-11 22:19:01 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-11 22:19:01 +0000
commitf5f74bed3d73813a2b1ddffa5c58e463060cf602 (patch)
tree511db97da501c78bd83e30b238f24d562829ba24 /wiretap/file_wrappers.c
parent35c66a174546c5a4a143e00a91119cd3088ca3d9 (diff)
Use ws_open(), not open(), so we handle UTF-8 pathnames on Windows.
Update or remove some additional "we don't have ferror() in zlib" comments to reflect the current reality. svn path=/trunk/; revision=36568
Diffstat (limited to 'wiretap/file_wrappers.c')
-rw-r--r--wiretap/file_wrappers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_wrappers.c b/wiretap/file_wrappers.c
index e3e935d7db..713142e0ae 100644
--- a/wiretap/file_wrappers.c
+++ b/wiretap/file_wrappers.c
@@ -780,7 +780,7 @@ gzwfile_open(const char *path)
GZWFILE_T state;
int save_errno;
- fd = open(path, O_BINARY|O_WRONLY|O_CREAT|O_TRUNC, 0666);
+ fd = ws_open(path, O_BINARY|O_WRONLY|O_CREAT|O_TRUNC, 0666);
if (fd == -1)
return NULL;
state = gzwfile_fdopen(fd);