mirror of
https://github.com/openharmony/third_party_lzma.git
synced 2026-07-01 02:07:13 -04:00
update README.OpenSource version number
Signed-off-by: pengjingtong <pengjingtong@huawei.com>
This commit is contained in:
+3
-3
@@ -357,10 +357,10 @@ static BOOL WINAPI FileTimeToLocalFileTime(const FILETIME *fileTime, FILETIME *l
|
||||
}
|
||||
|
||||
static const UInt32 kNumTimeQuantumsInSecond = 10000000;
|
||||
static const UInt32 kFileTimeStartYear = 1601;
|
||||
static const UInt32 kUnixTimeStartYear = 1970;
|
||||
#define K_FILE_TIME_START_YEAR 1601
|
||||
#define K_UNIX_TIME_START_YEAR 1970
|
||||
static const UInt64 kUnixTimeOffset =
|
||||
(UInt64)60 * 60 * 24 * (89 + 365 * (kUnixTimeStartYear - kFileTimeStartYear));
|
||||
(UInt64)60 * 60 * 24 * (89 + 365 * (K_UNIX_TIME_START_YEAR - K_FILE_TIME_START_YEAR));
|
||||
|
||||
static Int64 Time_FileTimeToUnixTime64(const FILETIME *ft)
|
||||
{
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
LZMA SDK is written and placed in the public domain by Igor Pavlov.
|
||||
|
||||
Some code in LZMA SDK is based on public domain code from another developers:
|
||||
1) PPMd var.H (2001): Dmitry Shkarin
|
||||
2) SHA-256: Wei Dai (Crypto++ library)
|
||||
|
||||
You can copy, modify, distributed and perform LZMA SDK code, even for commerical purpose,
|
||||
all without asking permission.
|
||||
|
||||
LZMA SDK code is compatible with open source license, for example, you can
|
||||
include it to GNU GPL or GNU LGPL code.
|
||||
+2
-2
@@ -3,9 +3,9 @@
|
||||
"Name": "lzma",
|
||||
"License": "Public domain",
|
||||
"License File": "LICENSE",
|
||||
"Version Number": "19.00",
|
||||
"Version Number": "22.00",
|
||||
"Owner": "zangleizhen@huawei.com",
|
||||
"Upstream URL": "https://7-zip.org/a/lzma1900.7z",
|
||||
"Upstream URL": "https://7-zip.org/a/lzma2200.7z",
|
||||
"Description": "LZMA is default and general compression method of 7z and xz format."
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user