This commit is contained in:
tg 2012-10-21 17:38:22 +00:00
parent 77f5b8f38d
commit 59f7279ea2
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.586 2012/10/14 14:02:10 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.587 2012/10/21 17:38:21 tg Exp $'
#- #-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 # 2011, 2012
@ -1492,7 +1492,7 @@ else
#define EXTERN #define EXTERN
#define MKSH_INCLUDES_ONLY #define MKSH_INCLUDES_ONLY
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.586 2012/10/14 14:02:10 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.587 2012/10/21 17:38:21 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); } int main(void) { printf("Hello, World!\n"); return (0); }
EOF EOF
case $cm in case $cm in
@ -1791,7 +1791,7 @@ cta(long_size_no_matter_of_signedness, sizeof(long) == sizeof(unsigned long));
cta(ari_is_4_char, sizeof(mksh_ari_t) == 4); cta(ari_is_4_char, sizeof(mksh_ari_t) == 4);
/* but the next two are; we REQUIRE signed integer wraparound */ /* but the next two are; we REQUIRE signed integer wraparound */
cta(ari_has_31_bit, 0 < (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 1)); cta(ari_has_31_bit, 0 < (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 1));
#ifndef MKSH_GCC565048 #ifndef MKSH_GCC55009
cta(ari_sign_32_bit_and_wrap, cta(ari_sign_32_bit_and_wrap,
(mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 1) > (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 1) >
(mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 2)); (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 2));
@ -1817,7 +1817,7 @@ cta(ptrdifft_funcptr_same_size, sizeof(ptrdiff_t) == sizeof(void (*)(void)));
cta(ptr_fits_in_long, sizeof(ptrdiff_t) <= sizeof(long)); cta(ptr_fits_in_long, sizeof(ptrdiff_t) <= sizeof(long));
}; };
#ifndef MKSH_LEGACY_MODE #ifndef MKSH_LEGACY_MODE
#ifndef MKSH_GCC565048 #ifndef MKSH_GCC55009
#define NUM 22 #define NUM 22
#else #else
#define NUM 21 #define NUM 21

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.559 2012/10/03 17:24:14 tg Exp $ # $MirOS: src/bin/mksh/check.t,v 1.560 2012/10/21 17:38:22 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -356,7 +356,7 @@ expected-stdout:
--- ---
name: arith-mandatory name: arith-mandatory
description: description:
If MKSH_GCC565048 is set when compiling, passing of If MKSH_GCC55009 is set when compiling, passing of
this test is *mandatory* for a valid mksh executable! this test is *mandatory* for a valid mksh executable!
category: shell:legacy-no category: shell:legacy-no
stdin: stdin: