summaryrefslogtreecommitdiffstats
path: root/bin/systrace/util.c
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2002-06-04 19:20:54 +0000
committerprovos <provos@openbsd.org>2002-06-04 19:20:54 +0000
commit56927094e865d8be7904c6f6d29d2543ce6958ca (patch)
treefa0028e6ef1a72625f0646899a36df9e8e5ea33a /bin/systrace/util.c
parentIdentify keyboard/mouse ports if not claimed by other drivers. (diff)
downloadwireguard-openbsd-56927094e865d8be7904c6f6d29d2543ce6958ca.tar.xz
wireguard-openbsd-56927094e865d8be7904c6f6d29d2543ce6958ca.zip
document origin of simplify_path
Diffstat (limited to 'bin/systrace/util.c')
-rw-r--r--bin/systrace/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/systrace/util.c b/bin/systrace/util.c
index e4393b5dc4d..2e008ee739c 100644
--- a/bin/systrace/util.c
+++ b/bin/systrace/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.2 2002/06/04 19:15:54 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.3 2002/06/04 19:20:54 provos Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -67,6 +67,8 @@ strrpl(char *str, size_t size, char *match, char *value)
return (p);
}
+/* simplify_path is from pdksh and apparently in the public domain */
+
/* ISABSPATH() means path is fully and completely specified,
* ISROOTEDPATH() means a .. as the first component is a no-op,
* ISRELPATH() means $PWD can be tacked on to get an absolute path.