Mercurial > pub > dyncall > dyncall
diff test/syscall/syscall.c @ 588:dfc2e6ee8782 r1.4-RC3
- more robust endian detection, on some platforms inclusion of endian.h led to assuming wrong endianness (subtle if inclusion was in
- syscall test: added newline to output
author | Tassilo Philipp |
---|---|
date | Mon, 19 Sep 2022 09:54:21 +0200 |
parents | 7608e34098b0 |
children | 6a34dcb2bbd7 |
line wrap: on
line diff
--- a/test/syscall/syscall.c Thu Sep 15 18:11:48 2022 +0200 +++ b/test/syscall/syscall.c Mon Sep 19 09:54:21 2022 +0200 @@ -47,6 +47,7 @@ { r = syscall_write(1/*stdout*/, "result: syscall: ", 17); r += syscall_write(1/*stdout*/, r==17?"1":"0", 2); + r += syscall_write(1/*stdout*/, "\n", 2); } return !(r == 19); }