This commit is contained in:
King_DuckZ 2020-05-05 20:23:01 +02:00
parent efca9adbd4
commit bf7250aed3
6 changed files with 31 additions and 50 deletions

View file

@ -29,7 +29,7 @@
# include <iconv.h> # include <iconv.h>
#endif #endif
#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) #if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__) || defined(__APPLE__)
# include <errno.h> # include <errno.h>
#endif #endif
@ -444,7 +444,7 @@ BOOL CUnAlz::ReadLocalFileheader()
size_t size; size_t size;
char inbuf[ICONV_BUF_SIZE]; char inbuf[ICONV_BUF_SIZE];
char outbuf[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; const char *inptr = inbuf;
#else #else
char *inptr = inbuf; char *inptr = inbuf;

View file

@ -2,7 +2,7 @@
UNALZ : read and extract module for ALZ format. UNALZ : read and extract module for ALZ format.
LICENSE (zlib License) 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 This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages warranty. In no event will the authors be held liable for any damages
@ -113,6 +113,8 @@
2008/04/04 - debian (by cwryu@debian ) 2008/04/04 - debian (by cwryu@debian )
- , NULL iterator - , NULL iterator
- unalz 0.62 - unalz 0.62
2009/01/09 - apple gcc (by lacovnk)
- unalz 0.63
: :
- alz (deflate/ bzip2/raw) - alz (deflate/ bzip2/raw)
@ -218,8 +220,8 @@ namespace UNALZ
# pragma pack(1) # pragma pack(1)
#endif #endif
static const char UNALZ_VERSION[] = "CUnAlz0.62"; static const char UNALZ_VERSION[] = "CUnAlz0.63";
static const char UNALZ_COPYRIGHT[] = "Copyright(C) 2004-2008 by kippler@gmail.com ( http://www.kipple.pe.kr ) "; 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 enum {ALZ_ENCR_HEADER_LEN=12}; // xf86
// 맨 파일 앞.. // 맨 파일 앞..

View file

@ -31,8 +31,9 @@ void Copyright()
// printf("unalz v0.55 (2006/03/10) \n"); // printf("unalz v0.55 (2006/03/10) \n");
// printf("unalz v0.60 (2006/12/31) \n"); // printf("unalz v0.60 (2006/12/31) \n");
// printf("unalz v0.61 (2007/02/10) \n"); // printf("unalz v0.61 (2007/02/10) \n");
printf("unalz v0.62 (2008/04/04) \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.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; CUnAlz unalz;
char* source=NULL; char* source=NULL;
char* destpath="."; const char* destpath=".";
char* destcodepage=NULL; const char* destcodepage=NULL;
char* password=NULL; char* password=NULL;
int count; int count;
BOOL listMode = FALSE; BOOL listMode = FALSE;

View file

@ -1,14 +1,27 @@
unalz v0.62 unalz v0.63
Copyright(C) 2004-2008 by hardkoder (http://www.kipple.pe.kr)
- 최초 작성일 : v0.20 - 2004/10/22 Copyright(C) 2004-2009 by kippler@gmail.com (http://www.kipple.pe.kr)
- LICENSE (zlib License)
- 라이선스 Copyright (C) 2004-2009 kippler@gmail.com , http://www.kipple.pe.kr
. 자유로이 변형/배포 가능 (zlib-license)
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.

View file

@ -23,8 +23,6 @@ CFG=unalz - Win32 Debug
# Begin Project # Begin Project
# PROP AllowPerConfigDependencies 0 # PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""$/Home/unalz", VXBAAAAA"
# PROP Scc_LocalPath "."
CPP=cl.exe CPP=cl.exe
RSC=rc.exe RSC=rc.exe

View file

@ -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>
{{{
}}}
###############################################################################