aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-01-13 13:43:37 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-01-13 13:43:37 +0000
commit8f9d313cf26ba98960392c562547b0b482072a91 (patch)
tree4450fcac8b7b39878c23966e9609a5186277cab0 /archivers
parente52791e2ddd4919185ac0088089f074c56b25547 (diff)
downloadports-8f9d313cf26ba98960392c562547b0b482072a91.tar.gz
ports-8f9d313cf26ba98960392c562547b0b482072a91.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unrar-iconv/files/patch-iconv4
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/unrar-iconv/files/patch-iconv b/archivers/unrar-iconv/files/patch-iconv
index 1f027a3f6cf4..ff0be291e452 100644
--- a/archivers/unrar-iconv/files/patch-iconv
+++ b/archivers/unrar-iconv/files/patch-iconv
@@ -173,7 +173,7 @@
+ }
+ if (ret == (size_t)(-1)) strcpy(Dest, Src);
+#else /* !WITH_ICONV */
- #if defined(_WIN_ALL)
+ #ifdef _WIN_ALL
CharToOemA(Src,Dest);
#else
if (Dest!=Src)
@@ -197,7 +197,7 @@
+ }
+ if (ret == (size_t)(-1)) strcpy(Dest,Src);
+#else /* !WITH_ICONV */
- #if defined(_WIN_ALL)
+ #ifdef _WIN_ALL
OemToCharA(Src,Dest);
#else
if (Dest!=Src)