update README.OpenSource version number

Signed-off-by: pengjingtong <pengjingtong@huawei.com>
This commit is contained in:
pengjingtong
2023-09-26 15:38:24 +08:00
parent 4a07764f03
commit e4645cb0c6
3 changed files with 16 additions and 5 deletions
+3 -3
View File
@@ -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)
{
+11
View File
@@ -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
View File
@@ -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."
}
]