diff options
author | Paul Smith <psmith@gnu.org> | 2013-10-26 00:10:17 -0400 |
---|---|---|
committer | Yury Usishchev <y.usishchev@samsung.com> | 2015-02-11 18:13:37 +0300 |
commit | 77005f0338e3c1ab8ab58100f705c03b8966a320 (patch) | |
tree | 1996e80d9a2bb6d65f8d2c8183b808d98ebf6081 | |
parent | 2b89b509eb6ed83fd15f901eae1c311b2a4bff52 (diff) | |
download | make-tizen_3.0.2015.q2_common.tar.gz make-tizen_3.0.2015.q2_common.tar.bz2 make-tizen_3.0.2015.q2_common.zip |
* makeint.h (STOP_SET): [SV 40371] Cast to unsigned char.HEADtizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_base/20151223.111112submit/tizen_3.0_base/20161028.062323submit/tizen_3.0.m2_base/20170104.073748submit/tizen_3.0.2014.q4_common/20150226.000000submit/tizen/20150212.055855accepted/tizen/wearable/20150218.124229accepted/tizen/tv/20150218.123044accepted/tizen/mobile/20150217.004715accepted/tizen/common/20150216.085038accepted/tizen/base/20151223.052212accepted/tizen/3.0/base/20161028.103006accepted/tizen/3.0.m2/base/20170104.081855accepted/tizen/3.0.2014.q4/common/20150226.105902tizen_3.0_basetizen_3.0.m2_basetizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizenaccepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_commonaccepted/tizen_3.0_baseaccepted/tizen_3.0.m2_baseaccepted/tizen_3.0.2014.q4_common
* tests/scripts/misc/utf8: Test variable names with characters >127.
Fix suggested by Robert Bogomip <bob.bogo@milohedge.com>
Change-Id: I93e2b24562d2bed3a8d60f8876d1def3a1f7b012
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
-rw-r--r-- | makeint.h | 2 | ||||
-rw-r--r-- | tests/scripts/misc/utf8 | 14 |
2 files changed, 15 insertions, 1 deletions
@@ -409,7 +409,7 @@ extern int unixy_shell; # define MAP_VMSCOMMA 0x0000 #endif -#define STOP_SET(_v,_m) ANY_SET (stopchar_map[(int)(_v)],(_m)) +#define STOP_SET(_v,_m) ANY_SET (stopchar_map[(unsigned char)(_v)],(_m)) #if defined(HAVE_SYS_RESOURCE_H) && defined(HAVE_GETRLIMIT) && defined(HAVE_SETRLIMIT) # define SET_STACK_SIZE diff --git a/tests/scripts/misc/utf8 b/tests/scripts/misc/utf8 new file mode 100644 index 0000000..2adcd07 --- /dev/null +++ b/tests/scripts/misc/utf8 @@ -0,0 +1,14 @@ +# -*-perl-*- +$description = "Test utf8 handling."; + +$details = ""; + +# Variable names containing UTF8 characters +run_make_test(" +\xe2\x96\xaa := hello +\$(info \$(\xe2\x96\xaa)) +all: +", + '', "hello\n#MAKE#: Nothing to be done for 'all'."); + +1; |