From 5d628a4a9cc11eb9a61a1dc683aadca9ac378736 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 13 May 2009 18:03:41 +0100 Subject: Don't stash strings in the handle. - makes it impossible to write bindings for set_{path,qemu,append} functions --- java/com/redhat/et/libguestfs/GuestFS.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'java/com') diff --git a/java/com/redhat/et/libguestfs/GuestFS.java b/java/com/redhat/et/libguestfs/GuestFS.java index d0b34465..c816baa0 100644 --- a/java/com/redhat/et/libguestfs/GuestFS.java +++ b/java/com/redhat/et/libguestfs/GuestFS.java @@ -229,10 +229,6 @@ public class GuestFS { * You can also override this by setting the * "LIBGUESTFS_QEMU" environment variable. * - * The string "qemu" is stashed in the libguestfs handle, - * so the caller must make sure it remains valid for the - * lifetime of the handle. - * * Setting "qemu" to "NULL" restores the default qemu * binary. * @@ -277,10 +273,6 @@ public class GuestFS { * The default is "$libdir/guestfs" unless overridden by * setting "LIBGUESTFS_PATH" environment variable. * - * The string "path" is stashed in the libguestfs handle, - * so the caller must make sure it remains valid for the - * lifetime of the handle. - * * Setting "path" to "NULL" restores the default path. * * @throws LibGuestFSException @@ -324,10 +316,6 @@ public class GuestFS { * The default is "NULL" unless overridden by setting * "LIBGUESTFS_APPEND" environment variable. * - * The string "append" is stashed in the libguestfs handle, - * so the caller must make sure it remains valid for the - * lifetime of the handle. - * * Setting "append" to "NULL" means *no* additional options * are passed (libguestfs always adds a few of its own). * -- cgit