Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/m4 Always define _PATH_DIVNAME to the Unix version. ...
details: https://anonhg.NetBSD.org/src/rev/95d4598ff518
branches: trunk
changeset: 748673:95d4598ff518
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Oct 31 23:25:04 2009 +0000
description:
Always define _PATH_DIVNAME to the Unix version. Drop UNIQUE.
Fixes build on Mac OS X.
diffstat:
usr.bin/m4/pathnames.h | 19 ++-----------------
1 files changed, 2 insertions(+), 17 deletions(-)
diffs (32 lines):
diff -r b35d7d10acdf -r 95d4598ff518 usr.bin/m4/pathnames.h
--- a/usr.bin/m4/pathnames.h Sat Oct 31 22:56:38 2009 +0000
+++ b/usr.bin/m4/pathnames.h Sat Oct 31 23:25:04 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pathnames.h,v 1.12 2003/08/07 11:14:33 agc Exp $ */
+/* $NetBSD: pathnames.h,v 1.13 2009/10/31 23:25:04 joerg Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -35,21 +35,6 @@
*/
/*
- * Definitions of diversion files. If the name of the file is changed,
- * adjust UNIQUE to point to the wildcard (*) character in the filename.
+ * Definitions of diversion files.
*/
-
-#ifdef msdos
-#define _PATH_DIVNAME "\\M4*XXXXXX" /* msdos diversion files */
-#define UNIQUE 3 /* unique char location */
-#endif
-
-#if defined(unix) || defined(__NetBSD__) || defined(__OpenBSD__)
#define _PATH_DIVNAME "/tmp/m4.0XXXXXXXXXX" /* unix diversion files */
-#define UNIQUE 8 /* unique char location */
-#endif
-
-#ifdef vms
-#define _PATH_DIVNAME "sys$login:m4*XXXXXX" /* vms diversion files */
-#define UNIQUE 12 /* unique char location */
-#endif
Home |
Main Index |
Thread Index |
Old Index