Jon Trulson
91011085a4
dtdbcache: remove incorrect comment block and tmpnam_buf var (not used)
...
With Aaron's fixes to dtdbcache fixing a potential coredump, the
comment block in the write_db() function regarding tmpnam() no longer
applies, and the tmpnam_buf variable is no longer used.
So, remove them :)
2012-08-07 17:43:32 -06:00
Jon Trulson
80f456e3b5
dtdbcache: Remove old code in comments
...
Patch from Aaron W. Hsu <arcfide@sacrideo.us>
2012-08-07 16:56:11 -06:00
Jon Trulson
04b366b09c
dtdbcache: Use mkstemp() instead of tmpnam() to avoid bad interactions
...
Patch from Aaron W. Hsu <arcfide@sacrideo.us>
2012-08-07 16:52:26 -06:00
Jon Trulson
5e6b400c3c
libtt: client init(): use fcntl F_SETFD correctly.
2012-07-27 19:17:14 -06:00
Peter Howkins
6eebf7d42c
Increment CDE version number to 2.2.0
2012-07-16 15:23:40 +01:00
Jon Trulson
75f2f96793
libDtHelp: fix up some warnigs and potential overruns
2012-07-12 18:03:54 -06:00
Jon Trulson
aeaec445ee
DtSvc/DtUtil1/Saver.c - fix the screen savers.
...
I have no idea how their putenv code can work. Anyway, use code that
works on linux now. :)
2012-07-12 15:14:51 -06:00
Jon Trulson
84e3c43b90
agent.c: oops - include poll.h, not sys/poll.h
2012-06-19 17:31:28 -06:00
Jon Trulson
d5deec6e72
csa/agent.c: use select rather than poll
2012-06-19 16:51:25 -06:00
Jon Trulson
cdf8003f7c
Remove hardcoded CCLINK's in Imakefiles when linking with C++ built libs (DtSvc).
...
Added proper SharedDtSvcReqs in lnxLib.tmpl and CplusplusLibC in
linux.cf. This allows the libstdc++ dependancy to be properly
declared for libDtSvc so that it is not neccessary to hardcode 'CCLINK
= g++' in the Imakefiles of programs linking angainst libDtSvc.
2012-06-19 16:27:20 -06:00
Jon Trulson
fff18bf2b7
doc/help localization changes
...
- by default, do not build any other locale than C for now
- do not try to build the guides. These require functioning
dtinfo/docbook
- add a Linux.lcx locale translation db. Not used yet.
- fix some overflows in dtdocbook/instant
2012-06-18 22:01:02 -06:00
Jon Trulson
784c7dff56
Add -fpermissive to linux standard c++ option define in linux.cf
...
Remove from individual Imakefiles.
Also, remove '#if 0' block in linux.cf, and remove empty
LinuxMachineDefines. This should be working correctly. If not, let me
know.
2012-06-18 16:27:25 -06:00
Jon Trulson
91f7988cf3
dtterm: fixes so job control will work.
2012-06-18 16:01:17 -06:00
Jon Trulson
62b669a6af
dtterm: disable svr4 streams semantics on linux
2012-06-18 15:32:02 -06:00
Peter Howkins
837972cb69
Modify all Imakefile files to use LinuxArchitecture instead of LinuxDistribution
...
for Linux specific changes. (lib directory)
2012-05-31 12:41:33 +01:00
Jon Trulson
b4f3efb692
DtSvc/dtspcd: fixes for VU#172583
2012-05-26 19:09:33 -06:00
Jon Trulson
70128313e9
tt_isam_record.C/tt_isam_record.C: fix CERT VU#387387 part 3
2012-05-26 18:39:51 -06:00
Jon Trulson
95e6fd42cc
tt_isam_record.C: fix CERT VU#387387 part 2
2012-05-26 18:29:26 -06:00
Jon Trulson
e820f21540
tt_isam_record.C: fix CERT VU#387387
2012-05-26 18:28:02 -06:00
Jon Trulson
3231696f03
dm_server.C: fix CERT VU#975403/VU#299816
2012-05-26 18:24:31 -06:00
Jon Trulson
8e4e53f4b9
FileUtils.c: fix CERT VU#575804
2012-05-26 18:14:58 -06:00
Peter Howkins
43a91fa718
Don't include a couple of non-existant svr4 files on linux.
2012-03-20 20:50:16 +00:00
Peter Howkins
1476da61f7
Change over Linux to using the System V style pty code, it seems at some
...
point Linuxes pty code is no longer the BSD legacy one by default anymore.
2012-03-20 20:43:06 +00:00
Peter Howkins
348f3cd81c
Change detector for linux platform to match other Imakefile changes
2012-03-12 21:26:30 +00:00
Peter Howkins
e321b293c1
When linking against C++ libraries gcc insists on using the C++ linker
2012-03-12 00:44:14 +00:00
Peter Howkins
84139c3575
On Linux don't redefine the prototypes to malloc() and realloc() to the wrong
...
things.
2012-03-12 00:37:58 +00:00
Peter Howkins
86909a64f0
Linux is a unistdh platform not an osfcn.h
2012-03-12 00:35:06 +00:00
Peter Howkins
54e8940874
linux is a unistd.h platform not a osfcn.h
2012-03-12 00:33:44 +00:00
Peter Howkins
50465f5a87
-fpermissive to allow gcc to compile old C++
2012-03-12 00:32:10 +00:00
Peter Howkins
0ce783f018
Do not redefine prototype of exit() under linux
2012-03-12 00:31:10 +00:00
Peter Howkins
ee22401f76
Add <unistd.h> include for getopt()
2012-03-12 00:29:37 +00:00
Peter Howkins
e2f33fe1dd
-fpermissive to allow gcc to compile old C++
2012-03-12 00:27:41 +00:00
Peter Howkins
e68afb01e6
-fpermissive to allow gcc to compile old C++
2012-03-12 00:26:40 +00:00
Peter Howkins
a513d54964
-fpermissive to allow gcc to compile old C++
2012-03-12 00:25:41 +00:00
Peter Howkins
4a6f362ee7
Use socklen_t type for argument for getsockname()
2012-03-12 00:25:04 +00:00
Peter Howkins
a2706176db
Add int type to previously untyped variable
2012-03-12 00:23:06 +00:00
Peter Howkins
0ada4a2e39
On linux use a iso C (89) stdarg variable argument function.
...
Gcc no longer supports old style varargs.h
2012-03-12 00:18:13 +00:00
Peter Howkins
0a9e7d2db9
No easy access to min()/max() macro, rewrite code
2012-03-12 00:14:33 +00:00
Peter Howkins
fc4f30fa88
-fpermissive to allow GCC to compile old C++
2012-03-12 00:06:34 +00:00
Peter Howkins
13f6ea01d4
No easy access to min() or max() macros, rewrite code to not use them.
2012-03-12 00:04:39 +00:00
Peter Howkins
8b79b425f8
No need to create another version of basename(), there's one available
...
on Linux
2012-03-11 23:58:53 +00:00
Peter Howkins
5aea241fd1
Linux uses unistd.h not osfcn.h
2012-03-11 23:57:12 +00:00
Peter Howkins
e8fe4970eb
Linux also needs cast to char * of NULL
2012-03-11 23:51:05 +00:00
Peter Howkins
3d25ba1ea1
No osfcn.h available on linux
2012-03-11 23:48:57 +00:00
Peter Howkins
a4442878a1
Add in wctype.h for widechars
2012-03-11 23:47:21 +00:00
Peter Howkins
b672c0782a
Bodgy support around including X11/Xos_r.h
...
Undefine index and rindex first to prevent clashes with tt funcs.
Should be fixed by namespacing local funcs
2012-03-11 23:44:52 +00:00
Peter Howkins
c3dc5b47a1
-fpermissive to allos GCC to compile old C++
2012-03-11 23:40:39 +00:00
Peter Howkins
5948300301
On Linux initialise tt_strings as () rather than (NULL)
2012-03-11 23:38:55 +00:00
Peter Howkins
b195aa51c8
-fpermissive to allow GCC to compile old C++
2012-03-11 23:34:37 +00:00
Peter Howkins
7d5d17251d
-fpermissive to allow gcc to compile old C++
2012-03-11 23:33:09 +00:00