Subj : Changes in husky sources To : All From : husky inspector Date : Tue Feb 16 2021 19:19:10 Legend: (A) Added, (C) Copied, (D) Deleted, (M) Modified, (R) Renamed, (T) Type changed, (U) Unmerged, (X) Unknown, (B) Pairing Broken =========================== huskylib: huskylib version 1.9.20210215 Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M cvsdate.h M huskylib.spec =========================== huskylib: update suppress_base.json Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M suppress_base.json =========================== huskylib: add huskylib.2019.suppress Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: A make/huskylib.2019.suppress =========================== huskylib: remove all PVS-Studio marks from the code Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/compiler.h M src/genmsgid.c M src/genverst.c M src/gnmsgid.c M src/ioutil.c M src/log.c M src/recode.c M src/strext.c M src/temp.c M src/version.c =========================== huskylib: add strace_out Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M .gitignore =========================== huskylib: update suppress_base.json Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M suppress_base.json =========================== huskylib: delete comments by PVS-Studio Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/crc.c =========================== huskylib: add suppress list for PVS-Studio Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: A suppress_base.json =========================== huskylib: fix the type of the temporary variable Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/adcase.c =========================== huskylib: cast the operand of addition and not the result Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/genmsgid.c =========================== huskylib: delete testing always false condition Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/dirlayer.c =========================== huskylib: fix 2 memory leaks by assigning a temporary variable for realloc Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/adcase.c =========================== huskylib: add VS 2019 configuration Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: A make/gnmsgid.2019.vcxproj A make/gnmsgid.2019.vcxproj.filters A make/huskylib.2019.vcxproj A make/huskylib.2019.vcxproj.filters =========================== huskylib: fix a typo: missing pointer asterisk Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/adcase.c =========================== huskylib: ignore "build/" Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M .gitignore =========================== huskylib: define MAX_PATH if it is not defined Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/ffind.h =========================== huskylib: PVS-Studio: mark as false alarms Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/compiler.h M src/crc.c M src/genmsgid.c M src/genverst.c M src/gnmsgid.c M src/ioutil.c M src/log.c M src/recode.c M src/strext.c M src/temp.c M src/version.c =========================== huskylib: add .gitignore Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: A .gitignore =========================== huskylib: test before defining mysleep and mymkdir if they have been defined Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/MSVC.h =========================== huskylib: CHAR definition is commented out because it is a redefinition and it is used nowhere Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/typesize.h =========================== huskylib: fix typos Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/compiler.h =========================== huskylib: do not check the argument of free() for NULL Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/genmsgid.c =========================== huskylib: use %p instead of %x for an address Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/log.c =========================== huskylib: do not check argument of free() for NULL Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/gnmsgid.c =========================== huskylib: compare a variable of type BOOL with FALSE and not with TRUE Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/getfree.c =========================== huskylib: use size_t instead of int Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/strext.h M src/strext.c =========================== huskylib: use size_t instead of int for nmax Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/xstr.c =========================== huskylib: use fp and not fileno for __WIN32__ Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/flush.c =========================== huskylib: replace int by ptrdiff_t Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/qksort.c =========================== huskylib: use cast to necessary type Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/log.c =========================== huskylib: take into account 64-bit addresses; make all w_log arguments after format the same type Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/log.c =========================== huskylib: use _lseeki64 and _telli64 for _WIN64 Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/MSVC.h M src/locking.c =========================== huskylib: remove always false or always true expressions Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/parsenn.c =========================== huskylib: fix comments Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/version.c =========================== huskylib: remove unnecessary cast Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/strext.c =========================== huskylib: check node for !=NULL before using it Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/parsenn.c =========================== huskylib: remove comparison because it is always true Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/ffind.c =========================== huskylib: free the pointer Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/fexist.c =========================== huskylib: cast malloc to proper type Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/adcase.c M src/ffind.c M src/ioutil.c M src/strext.c =========================== huskylib: check "pathname" for NULL before using it; cast to (char *) and to (size_t) Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/ioutil.c =========================== huskylib: "parsed" is always zero so it is unnecessary Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/gnmsgid.c =========================== huskylib: use size_t instead of int Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/getfree.c =========================== huskylib: ff is always not NULL at this point Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/genmsgid.c =========================== huskylib: use strncpy instead of strcpy Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/genmsgid.c =========================== huskylib: check if memory is allocated Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/genmsgid.c =========================== huskylib: cast to size_t; remove unnecessary initialization of i Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/ftnaddr.c =========================== huskylib: use width of 3 for month in sscanf Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/cvtdate.c =========================== huskylib: use "u" specifier in sprintf for positive values Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/cvtdate.c =========================== huskylib: replace unsigned by size_t Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/cvtdate.c =========================== huskylib: sort structure members by size from bigger to smaller Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/tree.h =========================== huskylib: surround the argument with parentheses Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/pstdint.h =========================== huskylib: use MAX_PATH instead of 256 for ff_name[] size to prevent overflow Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/ffind.h =========================== huskylib: use *netAddr after asserting netAddr Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/ftnaddr.c =========================== huskylib: cast to unsigned to eliminate warning Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/cvtdate.c =========================== huskylib: check tmdate for nullptr at the very beginning Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/cvtdate.c =========================== huskylib: strncpy with the size of destination, not source Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M src/strext.c =========================== huskylib: fix warnings by Visual Studio 2019 Author: Michael Dukelsky Date: 2021-02-15 15:43:40 +0300 Committed by: Michael Dukelsky Files: M huskylib/huskylib.h M src/adcase.c M src/crc.c M src/cvtdate.c M src/fexist.c M src/getfree.c M src/gnmsgid.c M src/ioutil.c M src/log.c M src/strext.c M src/xstr.c =========================== smapi: fix a typo in the date Author: Michael Dukelsky Date: 2021-02-16 19:07:08 +0300 Committed by: Michael Dukelsky Files: M cvsdate.h =========================== smapi: smapi version 2.5.2 2021-02-15 Author: Michael Dukelsky Date: 2021-02-15 18:12:37 +0300 Committed by: Michael Dukelsky Files: M cvsdate.h M smapi.spec M smapi/msgapi.h =========================== smapi: fix ProgramDataBaseFileName and ObjectFileName Author: Michael Dukelsky Date: 2021-02-15 18:05:05 +0300 Committed by: Michael Dukelsky Files: M make/smapi.2019.vcxproj =========================== smapi: remove the part of the boolean expression that is always true Author: Michael Dukelsky Date: 2021-02-15 17:35:18 +0300 Committed by: Michael Dukelsky Files: M src/api_sdm.c =========================== smapi: add suppress_base.json Author: Michael Dukelsky Date: 2021-02-14 22:26:09 +0300 Committed by: Michael Dukelsky Files: A suppress_base.json =========================== smapi: define MERR_INTERN and use it if(new_buffer_size < old_buffer_size) Author: Michael Dukelsky Date: 2021-02-14 21:08:13 +0300 Committed by: Michael Dukelsky Files: M smapi/msgapi.h M src/api_jam.c M src/msgapi.c =========================== smapi: check "hdrbuf" pointer for NULL Author: Michael Dukelsky Date: 2021-02-14 20:43:58 +0300 Committed by: Michael Dukelsky Files: M src/structrw.c =========================== smapi: delete deprecated /Gm compiler option Author: Michael Dukelsky Date: 2021-02-14 20:35:28 +0300 Committed by: Michael Dukelsky Files: M make/smapi.2019.vcxproj =========================== smapi: free the "onlytext" pointer to prevent memory leak Author: Michael Dukelsky Date: 2021-02-14 20:34:35 +0300 Committed by: Michael Dukelsky Files: M src/api_jam.c =========================== smapi: comment out ftsdate since it is not used Author: Michael Dukelsky Date: 2021-02-14 20:23:55 +0300 Committed by: Michael Dukelsky Files: M src/api_jam.c =========================== smapi: add strace_out Author: Michael Dukelsky Date: 2021-02-14 19:15:25 +0300 Committed by: Michael Dukelsky Files: M .gitignore =========================== smapi: several checks of pointers for NULL after malloc; decode_subfield() now returns int instead of void to convey that there is no memory Author: Michael Dukelsky Date: 2021-02-14 19:10:11 +0300 Committed by: Michael Dukelsky Files: M src/structrw.c =========================== smapi: remove unnecessary test Author: Michael Dukelsky Date: 2021-02-14 19:10:11 +0300 Committed by: Michael Dukelsky Files: M src/structrw.c =========================== smapi: remove unnecessary test Author: Michael Dukelsky Date: 2021-02-14 19:10:11 +0300 Committed by: Michael Dukelsky Files: M src/structrw.c =========================== smapi: delete unnecessary assignment Author: Michael Dukelsky Date: 2021-02-14 19:10:11 +0300 Committed by: Michael Dukelsky Files: M src/sq_msg.c =========================== smapi: use necessary types Author: Michael Dukelsky Date: 2021-02-14 19:10:11 +0300 Committed by: Michael Dukelsky Files: M src/msgapi.c =========================== smapi: remove excessive assignment Author: Michael Dukelsky Date: 2021-02-14 19:10:11 +0300 Committed by: Michael Dukelsky Files: M src/api_sdm.c =========================== smapi: remove excessive comments Author: Michael Dukelsky Date: 2021-02-14 19:10:11 +0300 Committed by: Michael Dukelsky Files: M make/smapi.2019.suppress M src/api_jam.c M src/api_sdm.c =========================== smapi: add build/ Author: Michael Dukelsky Date: 2021-02-14 11:37:25 +0300 Committed by: Michael Dukelsky Files: M .gitignore =========================== smapi: add .vs/ and out/ Author: Michael Dukelsky Date: 2021-02-12 22:08:32 +0300 Committed by: Michael Dukelsky Files: M .gitignore =========================== smapi: add VS 2019 project files Author: Michael Dukelsky Date: 2021-02-12 22:07:37 +0300 Committed by: Michael Dukelsky Files: A make/smapi.2019.suppress A make/smapi.2019.vcxproj A make/smapi.2019.vcxproj.filters =========================== smapi: check the pointer for NULL after malloc Author: Michael Dukelsky Date: 2021-02-12 22:02:00 +0300 Committed by: Michael Dukelsky Files: M src/structrw.c =========================== smapi: comment out the first assignment to "psqb->high_water" Author: Michael Dukelsky Date: 2021-02-12 21:09:20 +0300 Committed by: Michael Dukelsky Files: M src/sq_area.c =========================== smapi: szName after || is not needed Author: Michael Dukelsky Date: 2021-02-12 21:03:02 +0300 Committed by: Michael Dukelsky Files: M src/sq_area.c =========================== smapi: use offsetof instead of sizeof Author: Michael Dukelsky Date: 2021-02-12 20:57:14 +0300 Committed by: Michael Dukelsky Files: M src/api_jam.c =========================== smapi: set SAFE_CLEN as a sizeof(byte *) multiplier instead of just a number Author: Michael Dukelsky Date: 2021-02-12 20:33:33 +0300 Committed by: Michael Dukelsky Files: M src/msgapi.c =========================== smapi: prevent a memory leak when realloc fails by assigning to a temporary pointer Author: Michael Dukelsky Date: 2021-02-10 23:25:27 +0300 Committed by: Michael Dukelsky Files: M src/api_jam.c =========================== smapi: curtext and onlytext name the same pointer so (curtext - onlytext) is always 0 Author: Michael Dukelsky Date: 2021-02-10 22:23:33 +0300 Committed by: Michael Dukelsky Files: M src/api_jam.c =========================== smapi: remove -V104 comment Author: Michael Dukelsky Date: 2021-02-10 22:02:33 +0300 Committed by: Michael Dukelsky Files: M src/api_sdm.c =========================== smapi: casts Author: Michael Dukelsky Date: 2021-02-10 22:01:28 +0300 Committed by: Michael Dukelsky Files: M src/api_jam.c M src/msgapi.c M src/sq_idx.c M src/structrw.c =========================== smapi: delete excessive assignment; the jambase->LrdHandle was previosly assigned 0 Author: Michael Dukelsky Date: 2021-02-10 21:52:30 +0300 Committed by: Michael Dukelsky Files: M src/api_jam.c --- hpt/lnx 1.9.0 * Origin: Moscow, Russia (2:5020/1042.3) .