Initial diff by Rafael Sadowski. Patch to allow building with USE_SYSTRACE=Yes by lum@. Tested by Amit Kulkarni, Benjamin Nadland and Stefan Unterweger. Portswise OK sthen@
13 lines
389 B
Plaintext
13 lines
389 B
Plaintext
$OpenBSD: patch-src_main_gram_y,v 1.6 2012/07/04 12:38:06 dcoppa Exp $
|
|
--- src/main/gram.y.orig Wed Jan 11 00:05:03 2012
|
|
+++ src/main/gram.y Thu May 24 17:38:12 2012
|
|
@@ -127,7 +127,7 @@ static PROTECT_INDEX srindex;
|
|
|
|
static int mbcs_get_next(int c, wchar_t *wc)
|
|
{
|
|
- int i, res, clen = 1; char s[9];
|
|
+ int i, res, clen = 1; signed char s[9];
|
|
mbstate_t mb_st;
|
|
|
|
s[0] = c;
|