From bf7250aed3a91442dd86bfe99fb63dafada07efb Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Tue, 5 May 2020 20:23:01 +0200 Subject: [PATCH] v0.63 --- UnAlz.cpp | 4 ++-- UnAlz.h | 8 +++++--- main.cpp | 9 +++++---- readme.txt | 25 +++++++++++++++++++------ unalz.dsp | 2 -- unalz.dsw | 33 --------------------------------- 6 files changed, 31 insertions(+), 50 deletions(-) delete mode 100755 unalz.dsw diff --git a/UnAlz.cpp b/UnAlz.cpp index 7424d5e..de654fa 100755 --- a/UnAlz.cpp +++ b/UnAlz.cpp @@ -29,7 +29,7 @@ # include #endif -#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) +#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) || defined(__APPLE__) # include #endif @@ -444,7 +444,7 @@ BOOL CUnAlz::ReadLocalFileheader() size_t size; char inbuf[ICONV_BUF_SIZE]; char outbuf[ICONV_BUF_SIZE]; -#if defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__NetBSD__) +#if defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__NetBSD__) const char *inptr = inbuf; #else char *inptr = inbuf; diff --git a/UnAlz.h b/UnAlz.h index b16ee53..4c5c124 100755 --- a/UnAlz.h +++ b/UnAlz.h @@ -2,7 +2,7 @@ UNALZ : read and extract module for ALZ format. LICENSE (zlib License) - Copyright (C) 2004-2007 kippler@gmail.com , http://www.kipple.pe.kr + Copyright (C) 2004-2009 kippler@gmail.com , http://www.kipple.pe.kr This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -113,6 +113,8 @@ 2008/04/04 - debian ºôµå °ü·Ã ¼öÁ¤ (by cwryu@debian ) - ¼Ò½º Á¤¸®, NULL iterator °ü·Ã ¼öÁ¤ - unalz 0.62 + 2009/01/09 - apple gcc ÄÄÆÄÀÏ °ü·Ã ¼öÁ¤(by lacovnk) + - unalz 0.63 ±â´É : - alz ÆÄÀÏÀÇ ¾ÐÃà ÇØÁ¦ (deflate/º¯Çü bzip2/raw) @@ -218,8 +220,8 @@ namespace UNALZ # pragma pack(1) #endif -static const char UNALZ_VERSION[] = "CUnAlz0.62"; -static const char UNALZ_COPYRIGHT[] = "Copyright(C) 2004-2008 by kippler@gmail.com ( http://www.kipple.pe.kr ) "; +static const char UNALZ_VERSION[] = "CUnAlz0.63"; +static const char UNALZ_COPYRIGHT[] = "Copyright(C) 2004-2009 by kippler@gmail.com ( http://www.kipple.pe.kr ) "; enum {ALZ_ENCR_HEADER_LEN=12}; // xf86 // ¸Ç ÆÄÀÏ ¾Õ.. diff --git a/main.cpp b/main.cpp index 3cba714..bb27b3b 100755 --- a/main.cpp +++ b/main.cpp @@ -31,8 +31,9 @@ void Copyright() // printf("unalz v0.55 (2006/03/10) \n"); // printf("unalz v0.60 (2006/12/31) \n"); // printf("unalz v0.61 (2007/02/10) \n"); - printf("unalz v0.62 (2008/04/04) \n"); - printf("Copyright(C) 2004-2008 by kippler@gmail.com (http://www.kipple.pe.kr) \n"); +// printf("unalz v0.62 (2008/04/04) \n"); + printf("unalz v0.63 (2009/01/09) \n"); + printf("Copyright(C) 2004-2009 by kippler@gmail.com (http://www.kipple.pe.kr) \n"); } @@ -132,8 +133,8 @@ int main(int argc, char* argv[]) CUnAlz unalz; char* source=NULL; - char* destpath="."; - char* destcodepage=NULL; + const char* destpath="."; + const char* destcodepage=NULL; char* password=NULL; int count; BOOL listMode = FALSE; diff --git a/readme.txt b/readme.txt index 9501f9f..24f302c 100755 --- a/readme.txt +++ b/readme.txt @@ -1,14 +1,27 @@ - unalz v0.62 - - Copyright(C) 2004-2008 by hardkoder (http://www.kipple.pe.kr) + unalz v0.63 -- ÃÖÃÊ ÀÛ¼ºÀÏ : v0.20 - 2004/10/22 + Copyright(C) 2004-2009 by kippler@gmail.com (http://www.kipple.pe.kr) +- LICENSE (zlib License) -- ¶óÀ̼±½º - . ÀÚÀ¯·ÎÀÌ º¯Çü/¹èÆ÷ °¡´É (zlib-license) + Copyright (C) 2004-2009 kippler@gmail.com , http://www.kipple.pe.kr + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. diff --git a/unalz.dsp b/unalz.dsp index 6d34795..6ee0d06 100755 --- a/unalz.dsp +++ b/unalz.dsp @@ -23,8 +23,6 @@ CFG=unalz - Win32 Debug # Begin Project # PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName ""$/Home/unalz", VXBAAAAA" -# PROP Scc_LocalPath "." CPP=cl.exe RSC=rc.exe diff --git a/unalz.dsw b/unalz.dsw deleted file mode 100755 index 53235b2..0000000 --- a/unalz.dsw +++ /dev/null @@ -1,33 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "unalz"=.\unalz.dsp - Package Owner=<4> - -Package=<5> -{{{ - begin source code control - "$/Home/unalz", VXBAAAAA - . - end source code control -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### -