diff options
author | mycroft <mycroft> | 2000-11-25 22:43:28 +0000 |
---|---|---|
committer | mycroft <mycroft> | 2000-11-25 22:43:28 +0000 |
commit | a1ab8755a1344b05b2e3c7b7f8d4b764eb4a3473 (patch) | |
tree | c60940d2f9ee4e4749fd56006a5927ffd7d108ec /www | |
parent | 9f0d0b3e7156e0c14256ad74071519acf3e9fbc4 (diff) | |
download | pkgsrc-a1ab8755a1344b05b2e3c7b7f8d4b764eb4a3473.tar.gz |
Fix the htmlparser tests to work with unsigned characters.
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla/files/patch-sum | 3 | ||||
-rw-r--r-- | www/mozilla/patches/patch-an | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/www/mozilla/files/patch-sum b/www/mozilla/files/patch-sum index 4125af528ef..23d7b9e6dea 100644 --- a/www/mozilla/files/patch-sum +++ b/www/mozilla/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.33 2000/11/15 04:53:35 martin Exp $ +$NetBSD: patch-sum,v 1.34 2000/11/25 22:43:28 mycroft Exp $ MD5 (patch-aa) = a07a4956a8c6a91fce0ef653b59c902f MD5 (patch-ab) = dfa8ac0ffaac96293904adb6372c5b8d @@ -13,3 +13,4 @@ MD5 (patch-aj) = dae5f7b6f80a833fd63721c5c751fe0b MD5 (patch-ak) = 287b726e245828a0ef5801a621573e09 MD5 (patch-al) = c84bb29314da78f57bbb72c9b9834dc6 MD5 (patch-am) = ae0011f145fee15042a104d9a67a7b44 +MD5 (patch-an) = d675e27cb5f6cd403aafab081b8e84c7 diff --git a/www/mozilla/patches/patch-an b/www/mozilla/patches/patch-an new file mode 100644 index 00000000000..a2f017db23e --- /dev/null +++ b/www/mozilla/patches/patch-an @@ -0,0 +1,31 @@ +$NetBSD: patch-an,v 1.3 2000/11/25 22:43:29 mycroft Exp $ + +--- htmlparser/tests/outsinks/Convert.cpp.orig Thu Aug 31 22:08:07 2000 ++++ htmlparser/tests/outsinks/Convert.cpp Sat Nov 25 22:39:07 2000 +@@ -66,12 +66,12 @@ + + // Inefficiently read from the file: + nsString inString; +- char c; ++ int c; + int index = 0; + int different = 0; + while ((c = getc(file)) != EOF) + { +- inString.AppendWithConversion(c); ++ inString.AppendWithConversion((char) c); + // CVS isn't doing newline comparisons on these files for some reason. + // So compensate for possible newline problems in the CVS file: + if (c == '\n' && str[index] == '\r') +@@ -277,9 +277,9 @@ + + // Read in the string: very inefficient, but who cares? + nsString inString; +- char c; ++ int c; + while ((c = getc(file)) != EOF) +- inString.AppendWithConversion(c); ++ inString.AppendWithConversion((char) c); + + if (file != stdin) + fclose(file); |