]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
updated headers in gz* files
authorPrzemyslaw Skibinski <inikep@gmail.com>
Tue, 29 Nov 2016 17:02:34 +0000 (18:02 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Tue, 29 Nov 2016 17:02:34 +0000 (18:02 +0100)
zlibWrapper/gzclose.c
zlibWrapper/gzguts.h
zlibWrapper/gzlib.c
zlibWrapper/gzread.c
zlibWrapper/gzwrite.c

index b751247629e506f032185ab8b19ae090ee3753c8..b5b7480c307f2c49f89904bce38f28ce69bffee7 100644 (file)
@@ -1,3 +1,6 @@
+/* gzclose.c contains minimal changes required to be compiled with zlibWrapper:
+ * - gz_statep was converted to union to work with -Wstrict-aliasing=1      */
+
 /* gzclose.c -- zlib gzclose() function
  * Copyright (C) 2004, 2010 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
index c4c74f1a1221f3befa31fb4a9a9c35df3d6dbceb..3d8d7e76a3cc1ad1359e6373a9db2f40b2e410b5 100644 (file)
@@ -1,3 +1,7 @@
+/* gzguts.h contains minimal changes required to be compiled with zlibWrapper:
+ * - #include "zlib.h" was changed to #include "zstd_zlibwrapper.h"        
+ * - gz_statep was converted to union to work with -Wstrict-aliasing=1      */
+
 /* gzguts.h -- zlib internal header definitions for gz* operations
  * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
index e811313b5ad44c0230a7da14c2d845292983bad7..172041df585859ac7e7d6f0ab9fe633db2e154a5 100644 (file)
@@ -1,3 +1,6 @@
+/* gzlib.c contains minimal changes required to be compiled with zlibWrapper:
+ * - gz_statep was converted to union to work with -Wstrict-aliasing=1      */
+
 /* gzlib.c -- zlib functions common to reading and writing gzip files
  * Copyright (C) 2004, 2010, 2011, 2012, 2013 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
index 5bc0f6ff9ecde911b5d3c27c66d9935ba63f0294..ad33ebc62d2562d8346dbb371c1d8300dd286b73 100644 (file)
@@ -1,3 +1,6 @@
+/* gzread.c contains minimal changes required to be compiled with zlibWrapper:
+ * - gz_statep was converted to union to work with -Wstrict-aliasing=1      */
+
 /* gzread.c -- zlib functions for reading gzip files
  * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
index 7d4a614f279b921e391c86b07195be4b9dc15fc0..d1478d3c116651264e1440fb0962c3a147c77ec4 100644 (file)
@@ -1,3 +1,6 @@
+/* gzwrite.c contains minimal changes required to be compiled with zlibWrapper:
+ * - gz_statep was converted to union to work with -Wstrict-aliasing=1      */
+
 /* gzwrite.c -- zlib functions for writing gzip files
  * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h