From: Richard Jones Date: Sat, 22 May 2010 17:51:57 +0000 (+0100) Subject: guestfs_version: Correct documentation. X-Git-Tag: 1.2.8~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=aa5bd925f1bef1b6b40d3cb058c1c3e2cf129868;p=libguestfs.git guestfs_version: Correct documentation. Remove reference to 'ELF weak linking tricks' and replace with suggestion to use dl* functions. (cherry picked from commit 94030c5ce8b5848330e15e812a01064d5afcc6d0) --- diff --git a/src/generator.ml b/src/generator.ml index fbb992a..6fee544 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -791,8 +791,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