monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision bca7cbb4671250706869d904c56563e0bf2843


From: monotone
Subject: [Monotone-commits-diffs] Revision bca7cbb4671250706869d904c56563e0bf2843a0
Date: Mon, 15 Mar 2010 20:44:19 +0100

-----------------------------------------------------------------
Revision: bca7cbb4671250706869d904c56563e0bf2843a0
Ancestor: dda54058811fd39356e8755ad0d68998a5159dd3
Author: address@hidden
Date: 03/15/10 20:28:56
Branch: net.venge.monotone

Modified files:
        simplestring_xform.cc

ChangeLog: 

Fix the uppercase and lowercase functions: they need to take an unsigned
char argument (instead of char) so that the promotion to int does not
result in an unwanted sign extension and a later failure in libidn.

Fixes the charset:idna_encoding unit test in, at least, NetBSD/amd64.
All tests pass after this change.

Dunno why this didn't affect other platforms though...

Attachment: txtjrvFj1fn3_.txt
Description: Diff [dda54058811fd39356e8755ad0d68998a5159dd3] -> [bca7cbb4671250706869d904c56563e0bf2843a0]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]