mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
01ae1c9506
gzFile is a pointer type, so it should be used, not gzFile *. It is also not equivalent to FILE *, so undo some incorrect fixes from prior compiler updates.
16 lines
333 B
Plaintext
16 lines
333 B
Plaintext
Index: src/wrap.c
|
|
--- src/wrap.c.orig
|
|
+++ src/wrap.c
|
|
@@ -107,9 +107,9 @@ FILE *m_fdopen (int fildes, const char *mode)
|
|
|
|
#ifdef HAVE_LIBZ
|
|
|
|
-gzFile *m_gzdopen (int fildes, const char *mode)
|
|
+gzFile m_gzdopen (int fildes, const char *mode)
|
|
{
|
|
- gzFile *blah;
|
|
+ gzFile blah;
|
|
|
|
blah = gzdopen (fildes, mode);
|
|
if (blah == NULL)
|