2abc28d1f2
Version 4.2 fixes: 1) Fixed problems with windows that have a compound text title 2) Fixed problems with the cursor font name 3) error.c will now compile under Solaris 2.6 4) Fixed misc. compilation warnings. Some survive in error.c and states.c 5) Fixed warp function when two screens have the same program: warp will now look first on the screen containing the mouse pointer 6) Fixed hot key functions when num lock/shift lock might be pressed 7) Fixed problem with AutoRootMenu startup 8) Fixed problem with VirtualIconic resource
15 lines
444 B
Plaintext
15 lines
444 B
Plaintext
--- defaults.c.orig Thu Jan 13 22:36:03 1994
|
|
+++ ./defaults.c Fri Jul 16 21:49:02 1999
|
|
@@ -90,7 +90,11 @@
|
|
#ifdef SVR4
|
|
if (sysinfo(SI_HOSTNAME, hostname, sizeof(hostname)) != -1) {
|
|
#else
|
|
+#ifndef __OpenBSD__
|
|
if (0 == gethostname(hostname, sizeof(hostname), &namelen)) {
|
|
+#else
|
|
+ if (0 == gethostname(hostname, sizeof(hostname))) {
|
|
+#endif
|
|
#endif
|
|
(void) strcat(filename, hostname);
|
|
fileDB = XrmGetFileDatabase(filename);
|