On 2009-05-22 Robin Burchell <w...@inspircd.org> wrote:
> Thanks Andreas.

> This has been filed upstream (ID 864 in our tracker) and hopefully we can
> have it resolved within a few weeks.
[...]

I see that http://www.inspircd.org/bugtrack/view_bug.php?bug_id=864 is
now marked as fixed, thanks.

I have a simple question regarding part of the bugfix:

-chomp($config{HAS_GNUTLS}   = `libgnutls-config --version 2>/dev/null | cut -c 
1,2,3`); # GNUTLS Version.
+chomp($config{HAS_GNUTLS}   = `pkg-config --modversion gnutls 2>/dev/null | 
cut -c 1,2,3`); # GNUTLS Version.

What is the point of "cut -c 1,2,3"? Why do you drop the minor
revision, and if you do shouldn't you use "cut -d. -f 1,2" to properly
handle two-digit reviosion numbers? (Since gnutls has not yet used
something like 1.11.2 this has not yet had any effects.)

thanks, cu andreas


-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to