summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2013-04-05 12:59:55 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2013-04-05 12:59:55 +0000
commit2cf19e5366cea15a0f7f0db3191429de665f9ce2 (patch)
tree55bf4926b0a4e5ee8dfe81a648ecf4044e5e574a
parent1892e71c11ce0b9f666c92574ed7161d16dc08f8 (diff)
- Add comments regarding copies of these files also in libexec/ld.so
okay guenther@
-rw-r--r--lib/libc/gen/dirname.c4
-rw-r--r--lib/libc/gen/uname.c4
-rw-r--r--lib/libc/stdlib/realpath.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/gen/dirname.c b/lib/libc/gen/dirname.c
index 11007ee0df6..059059a6e4d 100644
--- a/lib/libc/gen/dirname.c
+++ b/lib/libc/gen/dirname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dirname.c,v 1.13 2005/08/08 08:05:33 espie Exp $ */
+/* $OpenBSD: dirname.c,v 1.14 2013/04/05 12:59:54 kurt Exp $ */
/*
* Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -21,6 +21,8 @@
#include <string.h>
#include <sys/param.h>
+/* A slightly modified copy of this file exists in libexec/ld.so */
+
char *
dirname(const char *path)
{
diff --git a/lib/libc/gen/uname.c b/lib/libc/gen/uname.c
index f55a468602d..09bc682fa5c 100644
--- a/lib/libc/gen/uname.c
+++ b/lib/libc/gen/uname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uname.c,v 1.8 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: uname.c,v 1.9 2013/04/05 12:59:54 kurt Exp $ */
/*-
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
@@ -32,6 +32,8 @@
#include <sys/sysctl.h>
#include <sys/utsname.h>
+/* A slightly modified copy of this file exists in libexec/ld.so */
+
int
uname(struct utsname *name)
{
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]);
*