Module Name: src
Committed By: dholland
Date: Mon Dec 14 06:03:23 UTC 2009
Modified Files:
src/common/lib/libprop: prop_array.3 prop_data.3
Log Message:
Fix some ordering inconsistencies, noted by Silas Silva in PR 42415.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/common/lib/libprop/prop_array.3
cvs rdiff -u -r1.6 -r1.7 src/common/lib/libprop/prop_data.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libprop/prop_array.3
diff -u src/common/lib/libprop/prop_array.3:1.10 src/common/lib/libprop/prop_array.3:1.11
--- src/common/lib/libprop/prop_array.3:1.10 Sat Oct 10 18:06:54 2009
+++ src/common/lib/libprop/prop_array.3 Mon Dec 14 06:03:23 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: prop_array.3,v 1.10 2009/10/10 18:06:54 bad Exp $
+.\" $NetBSD: prop_array.3,v 1.11 2009/12/14 06:03:23 dholland Exp $
.\"
.\" Copyright (c) 2006, 2009 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -225,14 +225,6 @@
.Fa index .
The object will be released and the array compacted following
the removal.
-.It Fn prop_array_equals "prop_array_t array1" "prop_array_t array2"
-Returns
-.Dv true
-if the two arrays are equivalent.
-If at least one of the supplied objects isn't an array,
-.Dv false
-is returned.
-Note: Objects contained in the array are compared by value, not by reference.
.It Fn prop_array_externalize "prop_array_t array"
Externalizes an array, returning a NUL-terminated buffer containing
the XML representation of the array.
@@ -280,6 +272,14 @@
Returns
.Dv false
if externalizing the array fails for any reason.
+.It Fn prop_array_equals "prop_array_t array1" "prop_array_t array2"
+Returns
+.Dv true
+if the two arrays are equivalent.
+If at least one of the supplied objects isn't an array,
+.Dv false
+is returned.
+Note: Objects contained in the array are compared by value, not by reference.
.El
.Sh SEE ALSO
.Xr prop_bool 3 ,
Index: src/common/lib/libprop/prop_data.3
diff -u src/common/lib/libprop/prop_data.3:1.6 src/common/lib/libprop/prop_data.3:1.7
--- src/common/lib/libprop/prop_data.3:1.6 Wed Apr 30 13:10:46 2008
+++ src/common/lib/libprop/prop_data.3 Mon Dec 14 06:03:23 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: prop_data.3,v 1.6 2008/04/30 13:10:46 martin Exp $
+.\" $NetBSD: prop_data.3,v 1.7 2009/12/14 06:03:23 dholland Exp $
.\"
.\" Copyright (c) 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -54,10 +54,10 @@
.Ft prop_data_t
.Fn prop_data_copy "prop_data_t data"
.\"
-.Ft void *
-.Fn prop_data_data "prop_data_t data"
.Ft size_t
.Fn prop_data_size "prop_data_t data"
+.Ft void *
+.Fn prop_data_data "prop_data_t data"
.Ft const void *
.Fn prop_data_data_nocopy "prop_data_t data"
.\"