|
|
7e0a4d |
From ca0212ba19b64488b9e8459a762c11ecd6e7d0bd Mon Sep 17 00:00:00 2001
|
|
|
7e0a4d |
From: Petr Stodulka <pstodulk@redhat.com>
|
|
|
7e0a4d |
Date: Tue, 24 Nov 2015 17:56:11 +0100
|
|
|
7e0a4d |
Subject: [PATCH] print correctly non-ascii filenames
|
|
|
7e0a4d |
|
|
|
7e0a4d |
---
|
|
|
7e0a4d |
extract.c | 289 ++++++++++++++++++++++++++++++++++++++++++++++++--------------
|
|
|
7e0a4d |
unzpriv.h | 7 ++
|
|
|
7e0a4d |
2 files changed, 233 insertions(+), 63 deletions(-)
|
|
|
7e0a4d |
|
|
|
7e0a4d |
diff --git a/extract.c b/extract.c
|
|
|
7e0a4d |
index 0ee4e93..741b7e0 100644
|
|
|
7e0a4d |
--- a/extract.c
|
|
|
7e0a4d |
+++ b/extract.c
|
|
|
7e0a4d |
@@ -2648,8 +2648,21 @@ static void set_deferred_symlink(__G__ slnk_entry)
|
|
|
7e0a4d |
} /* end function set_deferred_symlink() */
|
|
|
7e0a4d |
#endif /* SYMLINKS */
|
|
|
7e0a4d |
|
|
|
7e0a4d |
+/*
|
|
|
7e0a4d |
+ * If Unicode is supported, assume we have what we need to do this
|
|
|
7e0a4d |
+ * check using wide characters, avoiding MBCS issues.
|
|
|
7e0a4d |
+ */
|
|
|
7e0a4d |
|
|
|
7e0a4d |
-
|
|
|
7e0a4d |
+#ifndef UZ_FNFILTER_REPLACECHAR
|
|
|
7e0a4d |
+ /* A convenient choice for the replacement of unprintable char codes is
|
|
|
7e0a4d |
+ * the "single char wildcard", as this character is quite unlikely to
|
|
|
7e0a4d |
+ * appear in filenames by itself. The following default definition
|
|
|
7e0a4d |
+ * sets the replacement char to a question mark as the most common
|
|
|
7e0a4d |
+ * "single char wildcard"; this setting should be overridden in the
|
|
|
7e0a4d |
+ * appropiate system-specific configuration header when needed.
|
|
|
7e0a4d |
+ */
|
|
|
7e0a4d |
+# define UZ_FNFILTER_REPLACECHAR '?'
|
|
|
7e0a4d |
+#endif
|
|
|
7e0a4d |
|
|
|
7e0a4d |
/*************************/
|
|
|
7e0a4d |
/* Function fnfilter() */ /* here instead of in list.c for SFX */
|
|
|
7e0a4d |
@@ -2661,48 +2674,168 @@ char *fnfilter(raw, space, size) /* convert name to safely printable form */
|
|
|
7e0a4d |
extent size;
|
|
|
7e0a4d |
{
|
|
|
7e0a4d |
#ifndef NATIVE /* ASCII: filter ANSI escape codes, etc. */
|
|
|
7e0a4d |
- ZCONST uch *r=(ZCONST uch *)raw;
|
|
|
7e0a4d |
+ ZCONST uch *r; // =(ZCONST uch *)raw;
|
|
|
7e0a4d |
uch *s=space;
|
|
|
7e0a4d |
uch *slim=NULL;
|
|
|
7e0a4d |
uch *se=NULL;
|
|
|
7e0a4d |
int have_overflow = FALSE;
|
|
|
7e0a4d |
|
|
|
7e0a4d |
- if (size > 0) {
|
|
|
7e0a4d |
- slim = space + size
|
|
|
7e0a4d |
-#ifdef _MBCS
|
|
|
7e0a4d |
- - (MB_CUR_MAX - 1)
|
|
|
7e0a4d |
-#endif
|
|
|
7e0a4d |
- - 4;
|
|
|
7e0a4d |
+# if defined( UNICODE_SUPPORT) && defined( _MBCS)
|
|
|
7e0a4d |
+/* If Unicode support is enabled, and we have multi-byte characters,
|
|
|
7e0a4d |
+ * then do the isprint() checks by first converting to wide characters
|
|
|
7e0a4d |
+ * and checking those. This avoids our having to parse multi-byte
|
|
|
7e0a4d |
+ * characters for ourselves. After the wide-char replacements have been
|
|
|
7e0a4d |
+ * made, the wide string is converted back to the local character set.
|
|
|
7e0a4d |
+ */
|
|
|
7e0a4d |
+ wchar_t *wstring; /* wchar_t version of raw */
|
|
|
7e0a4d |
+ size_t wslen; /* length of wstring */
|
|
|
7e0a4d |
+ wchar_t *wostring; /* wchar_t version of output string */
|
|
|
7e0a4d |
+ size_t woslen; /* length of wostring */
|
|
|
7e0a4d |
+ char *newraw; /* new raw */
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ /* 2012-11-06 SMS.
|
|
|
7e0a4d |
+ * Changed to check the value returned by mbstowcs(), and bypass the
|
|
|
7e0a4d |
+ * Unicode processing if it fails. This seems to fix a problem
|
|
|
7e0a4d |
+ * reported in the SourceForge forum, but it's not clear that we
|
|
|
7e0a4d |
+ * should be doing any Unicode processing without some evidence that
|
|
|
7e0a4d |
+ * the name actually is Unicode. (Check bit 11 in the flags before
|
|
|
7e0a4d |
+ * coming here?)
|
|
|
7e0a4d |
+ * http://sourceforge.net/p/infozip/bugs/40/
|
|
|
7e0a4d |
+ */
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ if (MB_CUR_MAX <= 1)
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* There's no point to converting multi-byte chars if there are
|
|
|
7e0a4d |
+ * no multi-byte chars.
|
|
|
7e0a4d |
+ */
|
|
|
7e0a4d |
+ wslen = (size_t)-1;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
- while (*r) {
|
|
|
7e0a4d |
- if (size > 0 && s >= slim && se == NULL) {
|
|
|
7e0a4d |
- se = s;
|
|
|
7e0a4d |
+ else
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* Get Unicode wide character count (for storage allocation). */
|
|
|
7e0a4d |
+ wslen = mbstowcs( NULL, raw, 0);
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ if (wslen != (size_t)-1)
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* Apparently valid Unicode. Allocate wide-char storage. */
|
|
|
7e0a4d |
+ wstring = (wchar_t *)malloc((wslen + 1) * sizeof(wchar_t));
|
|
|
7e0a4d |
+ if (wstring == NULL) {
|
|
|
7e0a4d |
+ strcpy( (char *)space, raw);
|
|
|
7e0a4d |
+ return (char *)space;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
-#ifdef QDOS
|
|
|
7e0a4d |
- if (qlflag & 2) {
|
|
|
7e0a4d |
- if (*r == '/' || *r == '.') {
|
|
|
7e0a4d |
+ wostring = (wchar_t *)malloc(2 * (wslen + 1) * sizeof(wchar_t));
|
|
|
7e0a4d |
+ if (wostring == NULL) {
|
|
|
7e0a4d |
+ free(wstring);
|
|
|
7e0a4d |
+ strcpy( (char *)space, raw);
|
|
|
7e0a4d |
+ return (char *)space;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ /* Convert the multi-byte Unicode to wide chars. */
|
|
|
7e0a4d |
+ wslen = mbstowcs(wstring, raw, wslen + 1);
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ /* Filter the wide-character string. */
|
|
|
7e0a4d |
+ fnfilterw( wstring, wostring, (2 * (wslen + 1) * sizeof(wchar_t)));
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ /* Convert filtered wide chars back to multi-byte. */
|
|
|
7e0a4d |
+ woslen = wcstombs( NULL, wostring, 0);
|
|
|
7e0a4d |
+ if ((newraw = malloc(woslen + 1)) == NULL) {
|
|
|
7e0a4d |
+ free(wstring);
|
|
|
7e0a4d |
+ free(wostring);
|
|
|
7e0a4d |
+ strcpy( (char *)space, raw);
|
|
|
7e0a4d |
+ return (char *)space;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ woslen = wcstombs( newraw, wostring, (woslen * MB_CUR_MAX) + 1);
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ if (size > 0) {
|
|
|
7e0a4d |
+ slim = space + size - 4;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ r = (ZCONST uch *)newraw;
|
|
|
7e0a4d |
+ while (*r) {
|
|
|
7e0a4d |
+ if (size > 0 && s >= slim && se == NULL) {
|
|
|
7e0a4d |
+ se = s;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+# ifdef QDOS
|
|
|
7e0a4d |
+ if (qlflag & 2) {
|
|
|
7e0a4d |
+ if (*r == '/' || *r == '.') {
|
|
|
7e0a4d |
+ if (se != NULL && (s > (space + (size-3)))) {
|
|
|
7e0a4d |
+ have_overflow = TRUE;
|
|
|
7e0a4d |
+ break;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ ++r;
|
|
|
7e0a4d |
+ *s++ = '_';
|
|
|
7e0a4d |
+ continue;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ } else
|
|
|
7e0a4d |
+# endif
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
if (se != NULL && (s > (space + (size-3)))) {
|
|
|
7e0a4d |
have_overflow = TRUE;
|
|
|
7e0a4d |
break;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
- ++r;
|
|
|
7e0a4d |
- *s++ = '_';
|
|
|
7e0a4d |
- continue;
|
|
|
7e0a4d |
+ *s++ = *r++;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
- } else
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ if (have_overflow) {
|
|
|
7e0a4d |
+ strcpy((char *)se, "...");
|
|
|
7e0a4d |
+ } else {
|
|
|
7e0a4d |
+ *s = '\0';
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ free(wstring);
|
|
|
7e0a4d |
+ free(wostring);
|
|
|
7e0a4d |
+ free(newraw);
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ else
|
|
|
7e0a4d |
+# endif /* defined( UNICODE_SUPPORT) && defined( _MBCS) */
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* No Unicode support, or apparently invalid Unicode. */
|
|
|
7e0a4d |
+ r = (ZCONST uch *)raw;
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ if (size > 0) {
|
|
|
7e0a4d |
+ slim = space + size
|
|
|
7e0a4d |
+#ifdef _MBCS
|
|
|
7e0a4d |
+ - (MB_CUR_MAX - 1)
|
|
|
7e0a4d |
+#endif
|
|
|
7e0a4d |
+ - 4;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ while (*r) {
|
|
|
7e0a4d |
+ if (size > 0 && s >= slim && se == NULL) {
|
|
|
7e0a4d |
+ se = s;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+#ifdef QDOS
|
|
|
7e0a4d |
+ if (qlflag & 2) {
|
|
|
7e0a4d |
+ if (*r == '/' || *r == '.') {
|
|
|
7e0a4d |
+ if (se != NULL && (s > (space + (size-3)))) {
|
|
|
7e0a4d |
+ have_overflow = TRUE;
|
|
|
7e0a4d |
+ break;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ ++r;
|
|
|
7e0a4d |
+ *s++ = '_';
|
|
|
7e0a4d |
+ continue;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ } else
|
|
|
7e0a4d |
#endif
|
|
|
7e0a4d |
#ifdef HAVE_WORKING_ISPRINT
|
|
|
7e0a4d |
-# ifndef UZ_FNFILTER_REPLACECHAR
|
|
|
7e0a4d |
- /* A convenient choice for the replacement of unprintable char codes is
|
|
|
7e0a4d |
- * the "single char wildcard", as this character is quite unlikely to
|
|
|
7e0a4d |
- * appear in filenames by itself. The following default definition
|
|
|
7e0a4d |
- * sets the replacement char to a question mark as the most common
|
|
|
7e0a4d |
- * "single char wildcard"; this setting should be overridden in the
|
|
|
7e0a4d |
- * appropiate system-specific configuration header when needed.
|
|
|
7e0a4d |
- */
|
|
|
7e0a4d |
-# define UZ_FNFILTER_REPLACECHAR '?'
|
|
|
7e0a4d |
-# endif
|
|
|
7e0a4d |
- if (!isprint(*r)) {
|
|
|
7e0a4d |
+ if (!isprint(*r)) {
|
|
|
7e0a4d |
+ if (*r < 32) {
|
|
|
7e0a4d |
+ /* ASCII control codes are escaped as "^{letter}". */
|
|
|
7e0a4d |
+ if (se != NULL && (s > (space + (size-4)))) {
|
|
|
7e0a4d |
+ have_overflow = TRUE;
|
|
|
7e0a4d |
+ break;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ *s++ = '^', *s++ = (uch)(64 + *r++);
|
|
|
7e0a4d |
+ } else {
|
|
|
7e0a4d |
+ /* Other unprintable codes are replaced by the
|
|
|
7e0a4d |
+ * placeholder character. */
|
|
|
7e0a4d |
+ if (se != NULL && (s > (space + (size-3)))) {
|
|
|
7e0a4d |
+ have_overflow = TRUE;
|
|
|
7e0a4d |
+ break;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ *s++ = UZ_FNFILTER_REPLACECHAR;
|
|
|
7e0a4d |
+ INCSTR(r);
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+#else /* !HAVE_WORKING_ISPRINT */
|
|
|
7e0a4d |
if (*r < 32) {
|
|
|
7e0a4d |
/* ASCII control codes are escaped as "^{letter}". */
|
|
|
7e0a4d |
if (se != NULL && (s > (space + (size-4)))) {
|
|
|
7e0a4d |
@@ -2710,47 +2843,30 @@ char *fnfilter(raw, space, size) /* convert name to safely printable form */
|
|
|
7e0a4d |
break;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
*s++ = '^', *s++ = (uch)(64 + *r++);
|
|
|
7e0a4d |
+#endif /* ?HAVE_WORKING_ISPRINT */
|
|
|
7e0a4d |
} else {
|
|
|
7e0a4d |
- /* Other unprintable codes are replaced by the
|
|
|
7e0a4d |
- * placeholder character. */
|
|
|
7e0a4d |
+#ifdef _MBCS
|
|
|
7e0a4d |
+ unsigned i = CLEN(r);
|
|
|
7e0a4d |
+ if (se != NULL && (s > (space + (size-i-2)))) {
|
|
|
7e0a4d |
+ have_overflow = TRUE;
|
|
|
7e0a4d |
+ break;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ for (; i > 0; i--)
|
|
|
7e0a4d |
+ *s++ = *r++;
|
|
|
7e0a4d |
+#else
|
|
|
7e0a4d |
if (se != NULL && (s > (space + (size-3)))) {
|
|
|
7e0a4d |
have_overflow = TRUE;
|
|
|
7e0a4d |
break;
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
- *s++ = UZ_FNFILTER_REPLACECHAR;
|
|
|
7e0a4d |
- INCSTR(r);
|
|
|
7e0a4d |
- }
|
|
|
7e0a4d |
-#else /* !HAVE_WORKING_ISPRINT */
|
|
|
7e0a4d |
- if (*r < 32) {
|
|
|
7e0a4d |
- /* ASCII control codes are escaped as "^{letter}". */
|
|
|
7e0a4d |
- if (se != NULL && (s > (space + (size-4)))) {
|
|
|
7e0a4d |
- have_overflow = TRUE;
|
|
|
7e0a4d |
- break;
|
|
|
7e0a4d |
- }
|
|
|
7e0a4d |
- *s++ = '^', *s++ = (uch)(64 + *r++);
|
|
|
7e0a4d |
-#endif /* ?HAVE_WORKING_ISPRINT */
|
|
|
7e0a4d |
- } else {
|
|
|
7e0a4d |
-#ifdef _MBCS
|
|
|
7e0a4d |
- unsigned i = CLEN(r);
|
|
|
7e0a4d |
- if (se != NULL && (s > (space + (size-i-2)))) {
|
|
|
7e0a4d |
- have_overflow = TRUE;
|
|
|
7e0a4d |
- break;
|
|
|
7e0a4d |
- }
|
|
|
7e0a4d |
- for (; i > 0; i--)
|
|
|
7e0a4d |
*s++ = *r++;
|
|
|
7e0a4d |
-#else
|
|
|
7e0a4d |
- if (se != NULL && (s > (space + (size-3)))) {
|
|
|
7e0a4d |
- have_overflow = TRUE;
|
|
|
7e0a4d |
- break;
|
|
|
7e0a4d |
- }
|
|
|
7e0a4d |
- *s++ = *r++;
|
|
|
7e0a4d |
#endif
|
|
|
7e0a4d |
- }
|
|
|
7e0a4d |
- }
|
|
|
7e0a4d |
- if (have_overflow) {
|
|
|
7e0a4d |
- strcpy((char *)se, "...");
|
|
|
7e0a4d |
- } else {
|
|
|
7e0a4d |
- *s = '\0';
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ if (have_overflow) {
|
|
|
7e0a4d |
+ strcpy((char *)se, "...");
|
|
|
7e0a4d |
+ } else {
|
|
|
7e0a4d |
+ *s = '\0';
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
}
|
|
|
7e0a4d |
|
|
|
7e0a4d |
#ifdef WINDLL
|
|
|
7e0a4d |
@@ -2772,6 +2888,53 @@ char *fnfilter(raw, space, size) /* convert name to safely printable form */
|
|
|
7e0a4d |
} /* end function fnfilter() */
|
|
|
7e0a4d |
|
|
|
7e0a4d |
|
|
|
7e0a4d |
+#if defined( UNICODE_SUPPORT) && defined( _MBCS)
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+/****************************/
|
|
|
7e0a4d |
+/* Function fnfilter[w]() */ /* (Here instead of in list.c for SFX.) */
|
|
|
7e0a4d |
+/****************************/
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+/* fnfilterw() - Convert wide name to safely printable form. */
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+/* fnfilterw() - Convert wide-character name to safely printable form. */
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+wchar_t *fnfilterw( src, dst, siz)
|
|
|
7e0a4d |
+ ZCONST wchar_t *src; /* Pointer to source char (string). */
|
|
|
7e0a4d |
+ wchar_t *dst; /* Pointer to destination char (string). */
|
|
|
7e0a4d |
+ extent siz; /* Not used (!). */
|
|
|
7e0a4d |
+{
|
|
|
7e0a4d |
+ wchar_t *dsx = dst;
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+ /* Filter the wide chars. */
|
|
|
7e0a4d |
+ while (*src)
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ if (iswprint( *src))
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* Printable code. Copy it. */
|
|
|
7e0a4d |
+ *dst++ = *src;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ else
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* Unprintable code. Substitute something printable for it. */
|
|
|
7e0a4d |
+ if (*src < 32)
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* Replace ASCII control code with "^{letter}". */
|
|
|
7e0a4d |
+ *dst++ = (wchar_t)'^';
|
|
|
7e0a4d |
+ *dst++ = (wchar_t)(64 + *src);
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ else
|
|
|
7e0a4d |
+ {
|
|
|
7e0a4d |
+ /* Replace other unprintable code with the placeholder. */
|
|
|
7e0a4d |
+ *dst++ = (wchar_t)UZ_FNFILTER_REPLACECHAR;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ src++;
|
|
|
7e0a4d |
+ }
|
|
|
7e0a4d |
+ *dst = (wchar_t)0; /* NUL-terminate the destination string. */
|
|
|
7e0a4d |
+ return dsx;
|
|
|
7e0a4d |
+} /* fnfilterw(). */
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+#endif /* defined( UNICODE_SUPPORT) && defined( _MBCS) */
|
|
|
7e0a4d |
|
|
|
7e0a4d |
|
|
|
7e0a4d |
#ifdef SET_DIR_ATTRIB
|
|
|
7e0a4d |
diff --git a/unzpriv.h b/unzpriv.h
|
|
|
7e0a4d |
index 22d3923..e48a652 100644
|
|
|
7e0a4d |
--- a/unzpriv.h
|
|
|
7e0a4d |
+++ b/unzpriv.h
|
|
|
7e0a4d |
@@ -1212,6 +1212,7 @@
|
|
|
7e0a4d |
# ifdef UNICODE_WCHAR
|
|
|
7e0a4d |
# if !(defined(_WIN32_WCE) || defined(POCKET_UNZIP))
|
|
|
7e0a4d |
# include <wchar.h>
|
|
|
7e0a4d |
+# include <wctype.h>
|
|
|
7e0a4d |
# endif
|
|
|
7e0a4d |
# endif
|
|
|
7e0a4d |
# ifndef _MBCS /* no need to include <locale.h> twice, see below */
|
|
|
7e0a4d |
@@ -2410,6 +2411,12 @@ int memflush OF((__GPRO__ ZCONST uch *rawbuf, ulg size));
|
|
|
7e0a4d |
char *fnfilter OF((ZCONST char *raw, uch *space,
|
|
|
7e0a4d |
extent size));
|
|
|
7e0a4d |
|
|
|
7e0a4d |
+# if defined( UNICODE_SUPPORT) && defined( _MBCS)
|
|
|
7e0a4d |
+wchar_t *fnfilterw OF((ZCONST wchar_t *src, wchar_t *dst,
|
|
|
7e0a4d |
+ extent siz));
|
|
|
7e0a4d |
+#endif
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
+
|
|
|
7e0a4d |
/*---------------------------------------------------------------------------
|
|
|
7e0a4d |
Decompression functions:
|
|
|
7e0a4d |
---------------------------------------------------------------------------*/
|
|
|
7e0a4d |
--
|
|
|
7e0a4d |
2.4.3
|
|
|
7e0a4d |
|