Brian Cox
|
b3bcdbbcd9
|
Fix low hanging fruit items from valgrind memcheck results, mostly array deletes
|
2017-08-25 12:36:15 -07:00 |
brc0x1
|
8cec86246f
|
Fix build issues cross compiling for RISC OS (haven't verified we actually work yet, though); fix a couple of build issues left over from recent test-dir changes to twtest
|
2017-08-24 19:20:40 -07:00 |
Brian Cox
|
bd3b071e1b
|
ifdef out some unused methods in our HAVAL impl.
|
2017-08-24 00:57:11 -07:00 |
Brian Cox
|
01e25eb493
|
Remove a couple of unused FSServices methods
|
2017-08-19 20:38:57 -07:00 |
Brian Cox
|
d8e323e186
|
Rename 2038 epoch check to something more accurate & less alarming than 'TimeBombExploded' (sheesh), and only bother with it if time_t is 32 bits.
|
2017-07-31 18:49:36 -07:00 |
Brian Cox
|
24dba1b374
|
Remove or disable a little dead code uncovered by gcov
|
2017-07-28 20:15:50 -07:00 |
Brian Cox
|
180bf761e0
|
Buildsys files regenerated with automake 1.15.1, with no exciting new features
|
2017-07-08 22:18:04 -07:00 |
Brian Cox
|
dae64c48ed
|
Update copyright years
|
2017-04-25 18:31:11 -07:00 |
Brian Cox
|
8ba032c424
|
Change uses of _DEBUG and _DEBUG_DB defines to be DEBUG, since that's the only symbol that gets defined by configuring with --enable-debug.
|
2017-04-12 21:44:51 -07:00 |
Brian Cox
|
a1e614d694
|
Remove irritating 'eof:' comments, and some ancient dead code in stringutil.cpp
|
2017-04-11 21:29:32 -07:00 |
Brian Cox
|
9e1b078aac
|
Fix setting of IS_xxx OS macros for various platforms
|
2017-03-29 00:13:22 -07:00 |
Brian Cox
|
4af1375fb1
|
More unit test cleanup, + fix a warning in msystem le_set()
|
2017-03-27 22:45:55 -07:00 |
Brian Cox
|
2c03fdf878
|
Enable/repair more unit tests, and undo an earlier change to hex_to_char() that was causing test failures
|
2017-03-27 00:50:33 -07:00 |
Brian Cox
|
be0b374cad
|
Tweak le_set() for clarity in msystem.cpp
|
2017-03-26 00:28:04 -07:00 |
Brian Cox
|
c931a13ecd
|
Disable unused tss::mbsdec()
|
2017-03-26 00:06:09 -07:00 |
Brian Cox
|
da8748b6f2
|
fix file mode printing
|
2017-03-25 23:41:37 -07:00 |
Brian Cox
|
76868c5ccc
|
Resolve assorted GCC 7 warnings
|
2017-03-25 19:40:54 -07:00 |
Brian Cox
|
e04b97132b
|
Ok, actually don't use strl* string functions since they're a BSD-ism & Linux doesn't have them.
|
2017-03-25 16:02:51 -07:00 |
Brian Cox
|
7ce1df0a04
|
Remove the few remaining exception specifications, since they're deprecated in C++11 & cause warnings in GCC 7
|
2017-03-25 15:31:47 -07:00 |
Brian Cox
|
8cdca39103
|
Prefer strl* string functions over strn* ones
|
2017-03-25 15:06:22 -07:00 |
Brian Cox
|
5c1cfe4702
|
Use unique_ptr instead of auto_ptr where available (and define a macro to pick which one to use); fix a few other remaining warnings.
|
2017-03-22 20:00:08 -07:00 |
Brian Cox
|
6ea9c0b92e
|
fix debug builds in debug.cpp
|
2017-03-17 18:38:56 -07:00 |
Brian Cox
|
2b067176ad
|
Fix some clang extended warnings: non-virtual-dtor, shadow, unneeded-internal-declaration
|
2017-03-17 00:04:21 -07:00 |
Brian Cox
|
900fad8ca4
|
Remove some dead code, including objectpool & Unicode-only utf8 stuff
|
2017-03-15 20:58:49 -07:00 |
Brian Cox
|
1fb5f332e6
|
For clarity, remove a bunch of IS_UNIX ifdefs, since configure.ac always defines IS_UNIX to 1 no matter the OS.
|
2017-03-15 20:31:38 -07:00 |
Brian Cox
|
b2f21c3d55
|
Assorted bounds checks (via flawfinder)
|
2017-03-15 19:06:52 -07:00 |
Brian Cox
|
d6df22f9dc
|
Fix various Clang static analyzer quibbles
|
2017-02-20 23:21:00 -08:00 |
brc0x1
|
86baf94ddf
|
Fix man page handling in make install
|
2017-02-20 17:03:24 -08:00 |
Brian Cox
|
f52ddb9c6f
|
Add an include to fix Alpine Linux build issue (issue #15)
|
2017-02-20 14:50:25 -08:00 |
Brian Cox
|
005be38165
|
Fix permissions on a couple of cpp files (issue #14)
|
2017-02-20 14:49:52 -08:00 |
Brian Cox
|
f9aa5de896
|
Add ability to optionally *not* resolve uid/gid to name, to accomodate the Linux static binary vs. nsswitch name resolution issue; add RESOLVE_IDS_TO_NAMES config option to control this feature; avoid redundant lstats when turning IDs into names, since the lstat is to fetch the ID we already have; remove a bunch of unused code in UnixFSServices
|
2016-11-24 17:26:02 -08:00 |
Brian Cox
|
aaa132d211
|
Support paths w/ leading double slash (per an obscure corner of the POSIX spec) on platforms that implement it, currently just Cygwin. (Cygwin uses this for UNC paths.)
|
2016-08-07 23:24:15 -07:00 |
Brian Cox
|
33e8f4d76b
|
Remove static direct i/o buffer & blocksize cfg option.
|
2016-07-21 20:22:52 -07:00 |
Brian Cox
|
ad85c15f07
|
Initial tweaks for RTEMS support, though linking is still a work in progress.
|
2016-07-10 22:33:23 -07:00 |
Brian Cox
|
2d49bf6630
|
Report an error if requested feature isn't available on current platform -- SMTP mail, syslog, direct i/o hashing. And limit direct i/o to Linux for now, since elsewhere it either doesn't work the way we need it to (e.g. OSX, FreeBSD) or hasn't been tested adequately.
|
2016-07-09 10:49:14 -07:00 |
Brian Cox
|
b410bdf87f
|
Merge branch 'master' of https://github.com/brc0x1/tripwire-open-source
|
2016-07-03 14:30:53 -07:00 |
Brian Cox
|
c4440c5d29
|
Make direct i/o option work properly (ie don't use fread(), and use full block size on EOF), & rename it to HASH_DIRECT_IO for clarity
|
2016-07-03 14:29:05 -07:00 |
Brian Cox
|
62590f5a49
|
Improve defining NSIG when it isn't already defined
|
2016-07-01 19:53:14 -07:00 |
Brian Cox
|
0d8bdcc4d8
|
Support native-style paths on DOS/DJGPP
|
2016-06-29 21:02:12 -07:00 |
Brian Cox
|
fb1f751488
|
Build fixes for Android including platform macro & missing mblen()
|
2016-06-28 22:16:31 -07:00 |
Brian Cox
|
207189dafd
|
Update platform macros in platform.h, and use them instead of compiler-defined OS macros.
|
2016-06-23 23:12:22 -07:00 |
Brian Cox
|
9be78c1d1c
|
More dead code removal, this time Win32-isms in logging & sockets. Also start cleaning up OS macros in platform.h.
|
2016-06-23 14:51:17 -07:00 |
Brian Cox
|
78fdac5efc
|
Tweak include paths so we're buildable outside of source tree.
|
2016-06-20 19:49:21 -07:00 |
Brian Cox
|
a2f9fa4e06
|
Remove old+unused MAPI stuff
|
2016-06-19 15:37:44 -07:00 |
Brian Cox
|
eec52685c4
|
Delete a few unused source files (package.cpp, userstring.*, fcopropsetimpl.*) to avoid confusion.
|
2016-06-19 15:13:05 -07:00 |
Brian Cox
|
f41e3e06b6
|
Use the right 'ar' when cross compiling, instead of always wanting to use default system 'ar'. This happened because autoconf doesn't have a builtin AC_PROG_AR macro, so we have to provide our own.
|
2016-06-17 20:33:10 -07:00 |
Brian Cox
|
0ee24bc84b
|
New platform: MS-DOS/FreeDOS with DJGPP (i586-pc-msdosdjgpp). Detect & handle if sys/socket.h isn't present, which is default for DJGPP. Also handle slightly different struct stat, file type macros, absence of Posix signals.
|
2016-06-17 19:57:06 -07:00 |
Brian Cox
|
03622ed0f0
|
Specify headers in makefiles, so 'make dist' knows to include them
|
2016-06-14 01:15:37 -07:00 |
Brian Cox
|
7ad2b52d14
|
Remove UCS2-related dead code, in the name of clarity
|
2016-06-13 20:11:13 -07:00 |
Brian Cox
|
33f695c435
|
Use O_NOATIME on directories too, where available, to avoid bumping dir access times during scans.
|
2016-06-12 18:57:23 -07:00 |