Commit Graph

38 Commits

Author SHA1 Message Date
hyousatsu f0123efa84 Fix some warnings. 2024-07-21 00:43:27 +00:00
Chase 45cee195bd Generify source code
Previously we would fail in some parts of the code if we did not have a
premade configuration, now we use any code that was marked as Linux, BSD and
Solaris as our basis in order to support building unknown Unix systems.
2022-08-06 11:31:51 -06:00
Chase edf4319548 Discontinue HPUX support 2022-07-23 17:49:33 -06:00
Peter Howkins 20e2618097 ttsnoop: Resolve uninitialized warnings 2021-12-24 10:50:28 -07:00
Jon Trulson 5754d65248 ttsnoop/DtTt.C: fix -Wreturn-type warnings 2021-10-23 16:44:48 -06:00
Jon Trulson 51646fb06a programs/: remove Imakefiles for completed modules 2021-07-03 19:12:43 -06:00
Liang Chang 7cd4221824 ttsnoop: check the return value from tt_message_op to avoid a segmentation
fault.
2021-06-02 19:56:28 -06:00
Liang Chang 75a4e93d38 ttsnoop: adjust data types to ensure the result of pointer comparison is
correct.
2021-06-02 19:56:28 -06:00
Liang Chang a25a32157f ttsnoop: adjust the text field on ttChooser. 2021-06-02 19:56:28 -06:00
Liang Chang 1b1078ba7d ttsnoop: fix a segfault that occurred when clicking "Version..." in the "Snoop"
menu.
2021-06-02 19:56:26 -06:00
Chase 622496bdd6 ttsnoop: make it build under autotools 2021-02-13 18:51:36 -07:00
Matthew R. Trower 041788debc Restore original `tail` functionality in ttsnoop, with POSIX args 2018-11-04 10:28:42 -07:00
Jon Trulson 16ee3d1be5 ttsnoop: resolve coverity 176047, 176046, 176044, 176043, 176042 and 176040 2018-07-05 13:42:36 -06:00
Jon Trulson 392356f6b4 ttsnoop: use tail arg -f rather than +0f
I cannot even find out what "+0f" is supposed to do (google fail), but
this seems a reasonable alternative that should work everywhere.
2018-06-29 14:37:48 -06:00
Jon Trulson af6c2fd881 ttsnoop: drag into a modern C++ century
This program has never worked very well, and it may still not work
very well.  This commit removes the ancient C++ headers and uses
modern replacements with some changes required due to the different
interfaces.

It builds a lot cleaner, and no longer does stupid things like
deleteing char *, ostream.str()'s, and the like.

This program could be really useful if it worked well. Some thought
should be givien in the future to decouple this SW from dtappbuilder
and maybe just rewrite from scratch.
2018-06-29 13:48:06 -06:00
Ulrich Wilkens 297b6bd845 Fix warnings on FreeBSD 2018-05-31 22:04:08 -06:00
Ulrich Wilkens 07f272122d Fix Linux rpc problems with new glibc 2018-05-31 18:00:22 -06:00
chase 4f5e7fe5e3 Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
chase 164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -06:00
chase 07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
chase 8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
chase 33d2749ea3 Last of the spelling fixed 2018-04-28 12:36:44 -06:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
Peter Howkins 680f79aac3 ttsnoop: resolve some compiler warnings 2018-04-11 23:37:34 +01:00
Ulrich Wilkens 01d6c363fa OpenIndiana and Solaris port 2014-10-28 13:40:11 -06:00
Ulrich Wilkens 42e891d9e7 Resolve many build warnings
This patch fixes many warnings from the beginning of the build up to
and including the depend stage. Nearly all warnings should be gone
even with -Wall.
2014-09-23 17:57:50 -06:00
Jon Trulson ba0f3a250d Revert "ttsnoop: NULL is not 0"
This reverts commit 6a9327f2ab.

The real fix for this (and other issues) needs to be done in dtcodegen.
2014-09-16 18:09:21 -06:00
Jon Trulson 6a9327f2ab ttsnoop: NULL is not 0
This fix is a bit of a hack, I just moved the declarations into the
'user code' portion of main().

dtcodegen needs to be fixed so as not to generate this type of code in
the first place.
2014-09-14 14:25:55 -06:00
Ulrich Wilkens c3f74eec17 FreeBSD 10 clang port 2014-07-27 12:32:35 -06:00
Jon Trulson aa15240c22 ttsnoop.C.src: NULL is not 0 2014-04-06 16:55:45 -06:00
Jon Trulson 4312a1190b cleanup: eliminate missing sentinel warnings 2014-03-24 18:26:10 -06:00
Ulrich Wilkens d24fd29b52 Fix dtfile and dtterm on NetBSD 2014-03-11 13:06:55 -06:00
Ulrich Wilkens 2712d5f787 NetBSD port 2014-02-22 19:12:19 -07:00
Pascal Stumpf 20081d15c9 ttsnoop: deal with iostream.h and missing sentinels.
Replacing strstream may be possible, but requires more work and a better
understanding of the code.
2013-07-23 18:44:56 -06:00
Pascal Stumpf 43bae997c8 OpenBSD patches for ttsnoop.
Mostly adding std:: for strstream interfaces.
2012-08-11 20:06:44 -06:00
Peter Howkins aa605c16f3 Linux compilation of ttsnoop (Matthew Howkins)
This may contain prexisting 64-bit issues, caused by hammering pointers
into ints.
2012-04-12 19:08:52 +01:00
Peter Howkins c884521619 Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Peter Howkins 83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00