]> granicus.if.org Git - zziplib/commitdiff
add ifdef-EOVERFLOW and compat32-comment sections.
authorGuido Draheim <guidod@gmx.de>
Fri, 26 Mar 2010 13:49:51 +0000 (13:49 +0000)
committerGuido Draheim <guidod@gmx.de>
Fri, 26 Mar 2010 13:49:51 +0000 (13:49 +0000)
ChangeLog
zzip/dir.c
zzip/file.c

index 60eb01ea3085f0178308ec32de0bc748b1155858..df2bbbc54f9b0dbeac981f3a7c0d3e8c7e9f2479 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-03-26  guidod  <guidod@gmx.de>
+
+       * zzip/dir.c: and zzip/file.c - adding comments to the compat32
+          functions such that they appear near their off_t variants.
+          Also added the ifdef-EOVERFLOW check that is needed on Win32.
+
 2010-03-25  guidod  <guidod@gmx.de>
 
        * Makefile.mk: add "-I m4" and re-autoconf with newest autotools.
index eea901fefa22f1dc2bdf54f1e8565beebe979a2e..2df1bbc0fda20f21f4d488d279a247601d9ee76e 100644 (file)
@@ -186,6 +186,13 @@ zzip_seekdir(ZZIP_DIR * dir, zzip_off_t offset)
     }
 }
 
+#ifndef EOVERFLOW
+#define EOVERFLOW EFBIG
+#endif
+
+/** => zzip_rewinddir
+ * This function is provided for users who can not use any largefile-mode.
+ */
 long
 zzip_telldir32(ZZIP_DIR * dir)
 {
@@ -204,6 +211,9 @@ zzip_telldir32(ZZIP_DIR * dir)
     }
 }
 
+/** => zzip_rewinddir
+ * This function is provided for users who can not use any largefile-mode.
+ */
 void
 zzip_seekdir32(ZZIP_DIR * dir, long offset)
 {
index 2a00bf791dab497f3fa8fdb7350561b7a7293bd0..37d72ed1427d23a0d25eb954ae7f71d24fb94b5e 100644 (file)
@@ -1124,6 +1124,13 @@ zzip_tell(ZZIP_FILE * fp)
     return (fp->usize - fp->restlen);
 }
 
+#ifndef EOVERFLOW
+#define EOVERFLOW EFBIG
+#endif
+
+/** => zzip_tell
+ * This function is provided for users who can not use any largefile-mode.
+ */
 long
 zzip_tell32(ZZIP_FILE * fp)
 {
@@ -1142,6 +1149,9 @@ zzip_tell32(ZZIP_FILE * fp)
     }
 }
 
+/** => zzip_seek
+ * This function is provided for users who can not use any largefile-mode.
+ */
 long
 zzip_seek32(ZZIP_FILE * fp, long offset, int whence)
 {