summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/pathnames.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-06-26 04:52:26 +0000
committermillert <millert@openbsd.org>2003-06-26 04:52:26 +0000
commit48b947b71e6d4333c359c506becf23ba6bc3e83e (patch)
treece3e198f10e43448c205830f9fe521f003be9e09 /usr.bin/diff/pathnames.h
parentoff by one in size calculation (diff)
downloadwireguard-openbsd-48b947b71e6d4333c359c506becf23ba6bc3e83e.tar.xz
wireguard-openbsd-48b947b71e6d4333c359c506becf23ba6bc3e83e.zip
Fix temp file handling and deal with the case where we might need 2 temp files.
Diffstat (limited to 'usr.bin/diff/pathnames.h')
-rw-r--r--usr.bin/diff/pathnames.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/pathnames.h b/usr.bin/diff/pathnames.h
index eaf8402ac0b..eec82149fbf 100644
--- a/usr.bin/diff/pathnames.h
+++ b/usr.bin/diff/pathnames.h
@@ -29,8 +29,8 @@
* @(#)pathnames.h 8.1 (Berkeley) 6/6/93
*/
+#include <paths.h>
+
#define _PATH_DIFF "/usr/bin/diff"
#define _PATH_DIFFH "/usr/bin/diffh"
#define _PATH_PR "/usr/bin/pr"
-#undef _PATH_TMP
-#define _PATH_TMP "/tmp/dXXXXX"