Patch 8.2.0530
Problem: Test crashes on s390. (James McCoy)
Solution: Explicitly define an 8 big signed type. (closes #5897)
Files: src/structs.h
*** ../vim-8.2.0529/src/structs.h 2020-04-05 21:38:11.633962373 +0200
--- src/structs.h 2020-04-08 11:24:54.026279521 +0200
***************
*** 1290,1295 ****
--- 1290,1299 ----
# endif
#endif
+ // On rare systems "char" is unsigned, sometimes we really want a signed 8-bit
+ // value.
+ typedef signed char int8_T;
+
typedef double float_T;
typedef struct listvar_S list_T;
***************
*** 1342,1348 ****
typedef struct type_S type_T;
struct type_S {
vartype_T tt_type;
! char tt_argcount; // for func, -1 for unknown
char tt_min_argcount; // number of non-optional arguments
char tt_flags; // TTFLAG_ values
type_T *tt_member; // for list, dict, func return type
--- 1346,1352 ----
typedef struct type_S type_T;
struct type_S {
vartype_T tt_type;
! int8_T tt_argcount; // for func, -1 for unknown
char tt_min_argcount; // number of non-optional arguments
char tt_flags; // TTFLAG_ values
type_T *tt_member; // for list, dict, func return type
*** ../vim-8.2.0529/src/version.c 2020-04-07 22:44:56.778289142 +0200
--- src/version.c 2020-04-08 11:31:21.792717375 +0200
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 530,
/**/
--
Violators can be fined, arrested or jailed for making ugly faces at a dog.
[real standing law in Oklahoma, United States of America]
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202004080932.0389WNvP003848%40masaka.moolenaar.net.