Module Name:    src
Committed By:   joerg
Date:           Sat Oct 31 23:25:04 UTC 2009

Modified Files:
        src/usr.bin/m4: pathnames.h

Log Message:
Always define _PATH_DIVNAME to the Unix version. Drop UNIQUE.
Fixes build on Mac OS X.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/m4/pathnames.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/m4/pathnames.h
diff -u src/usr.bin/m4/pathnames.h:1.12 src/usr.bin/m4/pathnames.h:1.13
--- src/usr.bin/m4/pathnames.h:1.12	Thu Aug  7 11:14:33 2003
+++ src/usr.bin/m4/pathnames.h	Sat Oct 31 23:25:04 2009
@@ -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

Reply via email to