* [PATCH] slang: add header to patch
@ 2012-07-18 2:15 rongqing.li
2012-07-19 15:57 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2012-07-18 2:15 UTC (permalink / raw)
To: openembedded-core
From: Roy.Li <rongqing.li@windriver.com>
Add description, Signed-off-by and Upstream-Status to
change-char-type-to-signed-char-in-macros.patch
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
...change-char-type-to-signed-char-in-macros.patch | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch b/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
index 18dea13..2ea1ffd 100644
--- a/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
+++ b/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
@@ -1,3 +1,19 @@
+slang: change char type to signed char in macros
+
+C language has 3 distinct char types:
+ char
+ unsigned char
+ signed char
+A char has the same range of values as signed char on X86,
+but same as unsigned char on ARM which made Slang's typecast()
+and array_sort() unable to work for char value on ARM, since
+Slang is assuming "char" as "signed char".
+
+Now we change "char" as "signed char" explicitly in
+util/mkslarith2.sl, and use it to regenerate src/slarith2.inc
+
+Upstream-Status: Submitted
+Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
src/slarith2.inc | 72 ++++++++++++++++++++++++-------------------------
src/util/mkslarith2.sl | 2 -
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] slang: add header to patch
2012-07-18 2:15 [PATCH] slang: add header to patch rongqing.li
@ 2012-07-19 15:57 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-07-19 15:57 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 07/17/2012 07:15 PM, rongqing.li@windriver.com wrote:
> From: Roy.Li <rongqing.li@windriver.com>
>
> Add description, Signed-off-by and Upstream-Status to
> change-char-type-to-signed-char-in-macros.patch
>
> Signed-off-by: Roy.Li <rongqing.li@windriver.com>
> ---
> ...change-char-type-to-signed-char-in-macros.patch | 16 ++++++++++++++++
> 1 files changed, 16 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch b/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
> index 18dea13..2ea1ffd 100644
> --- a/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
> +++ b/meta/recipes-extended/slang/slang/change-char-type-to-signed-char-in-macros.patch
> @@ -1,3 +1,19 @@
> +slang: change char type to signed char in macros
> +
> +C language has 3 distinct char types:
> + char
> + unsigned char
> + signed char
> +A char has the same range of values as signed char on X86,
> +but same as unsigned char on ARM which made Slang's typecast()
> +and array_sort() unable to work for char value on ARM, since
> +Slang is assuming "char" as "signed char".
> +
> +Now we change "char" as "signed char" explicitly in
> +util/mkslarith2.sl, and use it to regenerate src/slarith2.inc
> +
> +Upstream-Status: Submitted
> +Signed-off-by: Roy.Li <rongqing.li@windriver.com>
> ---
> src/slarith2.inc | 72 ++++++++++++++++++++++++-------------------------
> src/util/mkslarith2.sl | 2 -
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-19 16:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-18 2:15 [PATCH] slang: add header to patch rongqing.li
2012-07-19 15:57 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox