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-api

[Xen-API] [PATCH 4 of 6] CA-33440: remove some more unused functions fro

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 4 of 6] CA-33440: remove some more unused functions from forkhelpers
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2009 17:58:02 +0000
Delivery-date: Mon, 21 Dec 2009 09:54:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1261418278@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1261409809 0
# Node ID 6927e5e50d612ba1ff5dd33ad3eef0a494afc0fe
# Parent  c77bc0262c68af492d0444eb61f52d1e6d6bd152
CA-33440: remove some more unused functions from forkhelpers

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r c77bc0262c68 -r 6927e5e50d61 stdext/forkhelpers.ml
--- a/stdext/forkhelpers.ml     Mon Dec 21 15:36:49 2009 +0000
+++ b/stdext/forkhelpers.ml     Mon Dec 21 15:36:49 2009 +0000
@@ -81,10 +81,6 @@
   with e ->
     Unix.close log_fd;
     Failure(read_logfile(), e)
-
-
-let with_dev_null f = Unixext.with_file "/dev/null" [ Unix.O_WRONLY ] 0o0 f
-let with_dev_null_read f = Unixext.with_file "/dev/null" [ Unix.O_RDONLY ] 0o0 
f
 
 
 exception Spawn_internal_error of string * string * Unix.process_status
diff -r c77bc0262c68 -r 6927e5e50d61 stdext/forkhelpers.mli
--- a/stdext/forkhelpers.mli    Mon Dec 21 15:36:49 2009 +0000
+++ b/stdext/forkhelpers.mli    Mon Dec 21 15:36:49 2009 +0000
@@ -52,5 +52,3 @@
 val dontwaitpid : pidty -> unit
 val waitpid_fail_if_bad_exit : pidty -> unit
 val getpid : pidty -> int
-
-val with_dev_null : (Unix.file_descr -> 'a) -> 'a
2 files changed, 6 deletions(-)
stdext/forkhelpers.ml  |    4 ----
stdext/forkhelpers.mli |    2 --


Attachment: xen-api-libs.hg-6.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api