From a736b1041e40798a5da912e866fc0aa6fbd021fd Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 1 Apr 2005 23:58:38 +0000 Subject: [PATCH] clarify the usage of dnParent( dn, dn ) --- servers/slapd/dn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/servers/slapd/dn.c b/servers/slapd/dn.c index 2e6379a2ee..5da22ac6a4 100644 --- a/servers/slapd/dn.c +++ b/servers/slapd/dn.c @@ -1097,6 +1097,10 @@ rdnMatch( * dnParent - dn's parent, in-place * note: the incoming dn is assumed to be normalized/prettyfied, * so that escaped rdn/ava separators are in '\'+hexpair form + * + * note: "dn" and "pdn" can point to the same berval; + * beware that, in this case, the pointer to the original buffer + * will get lost. */ void dnParent( -- 2.39.5