[Snek] [keith-packard/snek] 76b265: Convert strcmp result to int8_t in snek_poly_cmp
Keith Packard
noreply at github.com
Sun May 24 20:17:32 PDT 2020
Branch: refs/heads/master
Home: https://github.com/keith-packard/snek
Commit: 76b265d4aa3babaed27058798fc90aa31d8c6259
https://github.com/keith-packard/snek/commit/76b265d4aa3babaed27058798fc90aa31d8c6259
Author: Keith Packard <keithp at keithp.com>
Date: 2020-05-22 (Fri, 22 May 2020)
Changed paths:
M snek-poly.c
Log Message:
-----------
Convert strcmp result to int8_t in snek_poly_cmp
snek_poly_cmp returns an int8_t (to reduce code elsewhere on 8-bit
platforms), while strcmp returns an int. We need to use the whole int
value to generate the correct int8_t value, so perform the usual
comparison.
This bug was caught by running the test suite on a Linux arm64 machine,
which appears to have a different strcmp result than other compilers.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5be0ef24c7186b42362792e142b82227409a0063
https://github.com/keith-packard/snek/commit/5be0ef24c7186b42362792e142b82227409a0063
Author: Keith Packard <keithp at keithp.com>
Date: 2020-05-22 (Fri, 22 May 2020)
Changed paths:
M snek.defs
Log Message:
-----------
Version 1.4.1
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b052267203ef7339cbe336a31886a601904f0f7f
https://github.com/keith-packard/snek/commit/b052267203ef7339cbe336a31886a601904f0f7f
Author: Keith Packard <keithp at keithp.com>
Date: 2020-05-22 (Fri, 22 May 2020)
Changed paths:
M ports/qemu-arm/Makefile
Log Message:
-----------
ports/qemu-arm: Remove 'snek-arm' script in 'clean'
The clean step was trying to remove 'run-arm' which is the wrong name.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ef6b7c1a0236f386a6486e7fd8ac37a36d84f9f4
https://github.com/keith-packard/snek/commit/ef6b7c1a0236f386a6486e7fd8ac37a36d84f9f4
Author: Keith Packard <keithp at keithp.com>
Date: 2020-05-22 (Fri, 22 May 2020)
Changed paths:
M snek.defs
Log Message:
-----------
Add SNEK_PACKAGE_CFLAGS so distros can add build flags for firmware
This lets the Debian build add the -fdebug-prefix-map build flag,
for instance.
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/906cbc938263...ef6b7c1a0236
More information about the Snek
mailing list