Patch 8.2.0530

6 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 8, 2020, 5:32:33 AM4/8/20
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages