From 18eb0e3fca77881dcbc2759195a1028f51405823 Mon Sep 17 00:00:00 2001 From: pvalchev <> Date: Mon, 25 Feb 2002 22:19:45 +0000 Subject: [PATCH] print a warning that realpath points to internal static storage space that will be overwritten by subsequent calls; suggested by pjanzen, ok millert --- src/lib/libutil/opendev.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/libutil/opendev.3 b/src/lib/libutil/opendev.3 index 099829ba..9b2fd894 100644 --- a/src/lib/libutil/opendev.3 +++ b/src/lib/libutil/opendev.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: opendev.3,v 1.10 2000/05/01 06:05:33 hugh Exp $ +.\" $OpenBSD: opendev.3,v 1.11 2002/02/25 22:19:45 pvalchev Exp $ .\" .\" Copyright (c) 2000, Todd C. Miller. All rights reserved. .\" Copyright (c) 1996, Jason Downs. All rights reserved. @@ -84,6 +84,9 @@ The .Fn opendev return value and errors are the same as the return value and errors of .Xr open 2 . +.Sh WARNINGS +realpath points to internal static storage space that will be +overwritten by subsequent calls. .Sh SEE ALSO .Xr open 2 , .Xr getrawpartition 3