On Sun, 14 Dec 2008 18:49:11 +0100 Roland Illig <roland.illig%gmx.de@localhost> wrote: > Steven M. Bellovin schrieb: > > Argument "^B^D^A" isn't numeric in numeric lt (<) at - line 1. > > Maybe the GNOME developers thought that Perl could compare version > numbers easily -- I expected that too. The code they are using is: > > perl -we 'exit(2.4.1 < 1.875 ? 0 : 1)'; echo $? > > The correct code to do that is the following: > > perl -we 'exit(v2.4.1 lt v1.1875 ? 0 : 1)'; echo $? > > Roland > Yes, that looks like it. The attached version of patch-ac lets it build. Shall I commit it, or is there a better way to do this? --Steve Bellovin, http://www.cs.columbia.edu/~smb
Attachment:
patch-ac
Description: Binary data