16 Commits

Author SHA1 Message Date
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
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
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
Ulrich Wilkens
01d6c363fa OpenIndiana and Solaris port 2014-10-28 13:40:11 -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
Jon Trulson
aa15240c22 ttsnoop.C.src: NULL is not 0 2014-04-06 16:55:45 -06: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
83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00