From 94030c5ce8b5848330e15e812a01064d5afcc6d0 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 22 May 2010 18:51:57 +0100 Subject: [PATCH] guestfs_version: Correct documentation. Remove reference to 'ELF weak linking tricks' and replace with suggestion to use dl* functions. --- src/generator.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/generator.ml b/src/generator.ml index 1212a5a..ccadbfd 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -794,8 +794,9 @@ against a completely different C library. This call was added in version C<1.0.58>. In previous versions of libguestfs there was no way to get the version -number. From C code you can use ELF weak linking tricks to find out if -this symbol exists (if it doesn't, then it's an earlier version). +number. From C code you can use dynamic linker functions +to find out if this symbol exists (if it doesn't, then +it's an earlier version). The call returns a structure with four elements. The first three (C, C and C) are numbers and -- 1.8.3.1