File: specify-char-signedness.patch

package info (click to toggle)
mysql-workbench 6.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 113,932 kB
  • ctags: 87,814
  • sloc: ansic: 955,521; cpp: 427,465; python: 59,728; yacc: 59,129; xml: 54,204; sql: 7,091; objc: 965; makefile: 638; sh: 613; java: 237; perl: 30; ruby: 6; php: 1
file content (21 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Last-Update: 2015-11-01
Forwarded: yes
Bug-Upstream: https://bugs.mysql.com/bug.php?id=78950
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803618
Author: Peter Michael Green <plugwash@debian.org>
Reviewed-By: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: Fix error related to char signedness

--- a/library/sql.parser/source/ctype-utf8.cpp
+++ b/library/sql.parser/source/ctype-utf8.cpp
@@ -3868,9 +3868,9 @@
 */
 
 static int hexlo(int x)
 {
-  static char hex_lo_digit[256]=
+  static signed char hex_lo_digit[256]=
   {
     -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* ................ */
     -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* ................ */
     -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /*  !"#$%&'()*+,-./ */