diff options
| -rw-r--r-- | unrar/unrar.c | 14 | ||||
| -rw-r--r-- | zip/zip.cpp | 13 |
2 files changed, 21 insertions, 6 deletions
diff --git a/unrar/unrar.c b/unrar/unrar.c index 22d5497..b1282e7 100644 --- a/unrar/unrar.c +++ b/unrar/unrar.c @@ -1,5 +1,5 @@ /* UNRAR plugin for Tux Commander - * version 0.3.2, designed for unrar v3.8.2 + * version 0.3.3, designed for unrar v3.8.2 * Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net> * Check for updates on tuxcmd.sourceforge.net * @@ -55,8 +55,8 @@ enum HOST_SYSTEM { }; -#define VERSION "0.3.2" -#define BUILD_DATE "2008-10-28" +#define VERSION "0.3.3" +#define BUILD_DATE "2008-11-14" #define DEFAULT_BLOCK_SIZE 65536 @@ -479,6 +479,14 @@ int VFSGetPasswordRequired(struct TVFSGlobs *globs) return FALSE; } +void VFSResetPassword(struct TVFSGlobs *globs) +{ + if (globs && globs->password) { + g_free (globs->password); + globs->password = NULL; + } +} + /******************************************************************************************************/ diff --git a/zip/zip.cpp b/zip/zip.cpp index 2f87778..75cb37a 100644 --- a/zip/zip.cpp +++ b/zip/zip.cpp @@ -1,5 +1,5 @@ /* ZIP plugin for Tux Commander - * version 0.5.1, designed for ZipArchive v3.2.0 + * version 0.5.2, designed for ZipArchive v3.2.0 * Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net> * Check for updates on tuxcmd.sourceforge.net * @@ -47,8 +47,8 @@ -#define VERSION "0.5.1" -#define BUILD_DATE "2008-10-28" +#define VERSION "0.5.2" +#define BUILD_DATE "2008-11-14" #define DEFAULT_BLOCK_SIZE 65536 @@ -475,6 +475,13 @@ int VFSGetPasswordRequired(struct TVFSGlobs *globs) return FALSE; } +void +VFSResetPassword(struct TVFSGlobs *globs) +{ + if (globs) + globs->zip->SetPassword(NULL); +} + /******************************************************************************************************/ |
