Permalink
Browse files

force ragel alphtype to unsigned char, fixing non-ASCII TXT parsing o…

…n signed char platforms like s390x
  • Loading branch information...
1 parent c62d41b commit 916a0fda31405290cedac058aab7f5d9f9c26a7b @Habbie Habbie committed Oct 24, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 pdns/dnslabeltext.rl
@@ -22,6 +22,7 @@ vector<string> segmentDNSText(const string& input )
%%{
machine dnstext;
write data;
+ alphtype unsigned char;
}%%
(void)dnstext_error; // silence warnings
(void)dnstext_en_main;

0 comments on commit 916a0fd

Please sign in to comment.