From: Richard Jones Date: Sat, 22 May 2010 17:51:57 +0000 (+0100) Subject: guestfs_version: Correct documentation. X-Git-Tag: 1.3.14~3 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=94030c5ce8b5848330e15e812a01064d5afcc6d0 guestfs_version: Correct documentation. Remove reference to 'ELF weak linking tricks' and replace with suggestion to use dl* functions. --- 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