summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2002-01-06 02:32:57 +0000
committerKevin Steves <stevesk@pobox.com>2002-01-06 02:32:57 +0000
commitf49a1191c772673c5e90499c7c295da6630b1e96 (patch)
treec4530c12109c00e192eac7191809657966f0c462
parent0bd4b34c9b76ed5a4cbff74dde09ae0112aefcce (diff)
- (stevesk) defines.h: determine _PATH_UNIX_X; currently "/tmp/.X11-unix/X%u"
for all platforms except HP-UX, which is "/usr/spool/sockets/X11/%u".
-rw-r--r--ChangeLog6
-rw-r--r--defines.h12
2 files changed, 16 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index babd105c5..c8a79b5dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120020106
2 - (stevesk) defines.h: determine _PATH_UNIX_X; currently "/tmp/.X11-unix/X%u"
3 for all platforms except HP-UX, which is "/usr/spool/sockets/X11/%u".
4
120020105 520020105
2 - (bal) NCR requies use_pipes to operate correctly. 6 - (bal) NCR requies use_pipes to operate correctly.
3 - (stevesk) fix spurious ; from NCR change. 7 - (stevesk) fix spurious ; from NCR change.
@@ -7122,4 +7126,4 @@
7122 - Wrote replacements for strlcpy and mkdtemp 7126 - Wrote replacements for strlcpy and mkdtemp
7123 - Released 1.0pre1 7127 - Released 1.0pre1
7124 7128
7125$Id: ChangeLog,v 1.1716 2002/01/05 23:24:27 stevesk Exp $ 7129$Id: ChangeLog,v 1.1717 2002/01/06 02:32:57 stevesk Exp $
diff --git a/defines.h b/defines.h
index 838f1093b..ab98e6e4f 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
1#ifndef _DEFINES_H 1#ifndef _DEFINES_H
2#define _DEFINES_H 2#define _DEFINES_H
3 3
4/* $Id: defines.h,v 1.75 2001/10/31 22:32:34 djm Exp $ */ 4/* $Id: defines.h,v 1.76 2002/01/06 02:32:57 stevesk Exp $ */
5 5
6/* Necessary headers */ 6/* Necessary headers */
7 7
@@ -356,6 +356,16 @@ struct winsize {
356#define _PATH_XAUTH XAUTH_PATH 356#define _PATH_XAUTH XAUTH_PATH
357#endif /* XAUTH_PATH */ 357#endif /* XAUTH_PATH */
358 358
359/* derived from XF4/xc/lib/dps/Xlibnet.h */
360#ifndef X_UNIX_PATH
361#ifdef __hpux
362#define X_UNIX_PATH "/usr/spool/sockets/X11/%u"
363#else
364#define X_UNIX_PATH "/tmp/.X11-unix/X%u"
365#endif
366#endif /* X_UNIX_PATH */
367#define _PATH_UNIX_X X_UNIX_PATH
368
359#ifndef _PATH_TTY 369#ifndef _PATH_TTY
360# define _PATH_TTY "/dev/tty" 370# define _PATH_TTY "/dev/tty"
361#endif 371#endif