summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/realpath.c
diff options
context:
space:
mode:
authorkurt <kurt@openbsd.org>2013-04-05 12:59:54 +0000
committerkurt <kurt@openbsd.org>2013-04-05 12:59:54 +0000
commit585a69dbd41008c8489a1142bfb345374c398dae (patch)
treeb8bffa149a8d22f8f813e5af590016da2ce0ad3d /lib/libc/stdlib/realpath.c
parent- Add ORIGIN, OSNAME, OSREL and PLATFORM substitution support for rpaths. (diff)
downloadwireguard-openbsd-585a69dbd41008c8489a1142bfb345374c398dae.tar.xz
wireguard-openbsd-585a69dbd41008c8489a1142bfb345374c398dae.zip
- Add comments regarding copies of these files also in libexec/ld.so
okay guenther@
Diffstat (limited to 'lib/libc/stdlib/realpath.c')
-rw-r--r--lib/libc/stdlib/realpath.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdlib/realpath.c b/lib/libc/stdlib/realpath.c
index 534f48d4b4b..e0f9b123b35 100644
--- a/lib/libc/stdlib/realpath.c
+++ b/lib/libc/stdlib/realpath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: realpath.c,v 1.15 2012/09/13 15:39:05 deraadt Exp $ */
+/* $OpenBSD: realpath.c,v 1.16 2013/04/05 12:59:54 kurt Exp $ */
/*
* Copyright (c) 2003 Constantin S. Svintsoff <kostik@iclub.nsu.ru>
*
@@ -35,6 +35,8 @@
#include <string.h>
#include <unistd.h>
+/* A slightly modified copy of this file exists in libexec/ld.so */
+
/*
* char *realpath(const char *path, char resolved[PATH_MAX]);
*