summaryrefslogtreecommitdiffstats
path: root/sail/pathnames.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-03-14 23:47:18 +0000
committerdholland <dholland@NetBSD.org>2009-03-14 23:47:18 +0000
commit1c42ea16f8f04f01d757035d69494da12b19bb69 (patch)
treede4fdd6b14851ebdb5fc367ef364f4915c991de7 /sail/pathnames.h
parent46d82f438f3ef522450f4282d4f9824144e3e538 (diff)
downloadbsdgames-darwin-1c42ea16f8f04f01d757035d69494da12b19bb69.tar.gz
bsdgames-darwin-1c42ea16f8f04f01d757035d69494da12b19bb69.zip
chdir to /var/games/sail while running, to simplify name handling.
Diffstat (limited to 'sail/pathnames.h')
-rw-r--r--sail/pathnames.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sail/pathnames.h b/sail/pathnames.h
index c3ea1d03..65bc3641 100644
--- a/sail/pathnames.h
+++ b/sail/pathnames.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pathnames.h,v 1.5 2003/08/07 09:37:43 agc Exp $ */
+/* $NetBSD: pathnames.h,v 1.6 2009/03/14 23:47:18 dholland Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -32,5 +32,8 @@
*/
#define _PATH_LOGFILE "/var/games/saillog"
-#define _PATH_SYNC "/var/games/sail/#sailsink.%d"
-#define _PATH_LOCK "/var/games/sail/#saillock.%d"
+#define _PATH_SAILDIR "/var/games/sail"
+
+/* in _PATH_SAILDIR */
+#define _FILE_SYNC "#sailsink.%d"
+#define _FILE_LOCK "#saillock.%d"