WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix comment describing return value -- xs_rm returns fal

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix comment describing return value -- xs_rm returns false if the path does not
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jan 2006 13:08:10 +0000
Delivery-date: Mon, 09 Jan 2006 13:15:04 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID a848ee1c982213f2eca241a77173a0cc313a74df
# Parent  4aeb3950114533b09317a3ea056a66dbb5899050
Fix comment describing return value -- xs_rm returns false if the path does not
exist, not true.
 
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 4aeb39501145 -r a848ee1c9822 tools/xenstore/xs.h
--- a/tools/xenstore/xs.h       Tue Jan  3 16:28:00 2006
+++ b/tools/xenstore/xs.h       Tue Jan  3 16:29:42 2006
@@ -68,7 +68,7 @@
              const char *path);
 
 /* Destroy a file or directory (and children).
- * Returns false on failure, or success if it doesn't exist.
+ * Returns false on failure, or if it doesn't exist.
  */
 bool xs_rm(struct xs_handle *h, struct xs_transaction_handle *t,
           const char *path);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix comment describing return value -- xs_rm returns false if the path does not, Xen patchbot -unstable <=