pkgsrc/net/jwhois/patches/patch-ac
shattered 9f7008b601 Update to 4.0, from PR 38500. Changes:
* Many WHOIS data updates and translation updates; 4 new translations
* Reset euid and egid to uid and gid before calling the user specified browser
* Added support for libidn
* Added patch to support conversion of whois server output to local charset.
* Changed to GNU GPL v3

Local change: WHOIS servers for some geographical subdomains in .ru and .su TLDs.

OK by wiz@.
2009-01-09 16:20:20 +00:00

14 lines
614 B
Text

$NetBSD: patch-ac,v 1.12 2009/01/09 16:20:20 shattered Exp $
--- src/regex.c.orig 2007-02-17 18:33:56.000000000 +0000
+++ src/regex.c
@@ -3771,8 +3771,7 @@ re_match_2 (bufp, string1, size1, string
regstart[r] = old_regstart[r];
/* xx why this test? */
- if ((unsigned long int) old_regend[r] >=
- (unsigned long int) regstart[r])
+ if (old_regend[r] >= regstart[r])
regend[r] = old_regend[r];
}
}