summaryrefslogtreecommitdiff
path: root/usr.bin/diff/pathnames.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-07-09 00:07:45 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-07-09 00:07:45 +0000
commit553e0315fd0d1bd47119cb903dd1783a20954223 (patch)
tree4e7cd0c6f736e7c6bf30901de162ebfef9530d56 /usr.bin/diff/pathnames.h
parent95267cf7b08e0e2cb162032efcf164ea19baf730 (diff)
Re-implement -l flag; diff -l now works correctly in non-directory
mode (like GNU diff).
Diffstat (limited to 'usr.bin/diff/pathnames.h')
-rw-r--r--usr.bin/diff/pathnames.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.bin/diff/pathnames.h b/usr.bin/diff/pathnames.h
new file mode 100644
index 00000000000..ab79dca284d
--- /dev/null
+++ b/usr.bin/diff/pathnames.h
@@ -0,0 +1,25 @@
+/* $OpenBSD: pathnames.h,v 1.10 2003/07/09 00:07:44 millert Exp $ */
+
+/*
+ * Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Sponsored in part by the Defense Advanced Research Projects
+ * Agency (DARPA) and Air Force Research Laboratory, Air Force
+ * Materiel Command, USAF, under agreement number F39502-99-1-0512.
+ */
+
+#include <paths.h>
+
+#define _PATH_PR "/usr/bin/pr"