* Build.sh: add -fwrapv to standard CFLAGS, just to be on the safe
side (I don't have capacities to scan 71711 files in MirOS for a standards-compliance whack) * copyright: mention CVS changelogs as place of contributors' name and credit information, too * check.t, sh.h: bump
This commit is contained in:
parent
c480656076
commit
263f518dfd
4
Build.sh
4
Build.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $MirOS: src/bin/mksh/Build.sh,v 1.111 2007/01/14 21:38:25 tg Exp $
|
# $MirOS: src/bin/mksh/Build.sh,v 1.112 2007/01/17 01:24:28 tg Exp $
|
||||||
#-
|
#-
|
||||||
# Environment: CC, CFLAGS, CPP, CPPFLAGS, LDFLAGS, LIBS, NOWARN, NROFF
|
# Environment: CC, CFLAGS, CPP, CPPFLAGS, LDFLAGS, LIBS, NOWARN, NROFF
|
||||||
# With -x (cross compile): TARGET_OS (default: uname -s)
|
# With -x (cross compile): TARGET_OS (default: uname -s)
|
||||||
@ -99,7 +99,7 @@ if test -d mksh; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
: ${CFLAGS='-O2 -fno-strict-aliasing -Wall'}
|
: ${CFLAGS='-O2 -fno-strict-aliasing -fwrapv -Wall'}
|
||||||
: ${CC=gcc} ${NROFF=nroff}
|
: ${CC=gcc} ${NROFF=nroff}
|
||||||
curdir=`pwd` srcdir=`dirname "$0"` check_categories=pdksh
|
curdir=`pwd` srcdir=`dirname "$0"` check_categories=pdksh
|
||||||
echo | $NROFF -v 2>&1 | grep GNU >/dev/null 2>&1 && NROFF="$NROFF -c"
|
echo | $NROFF -v 2>&1 | grep GNU >/dev/null 2>&1 && NROFF="$NROFF -c"
|
||||||
|
4
check.t
4
check.t
@ -1,4 +1,4 @@
|
|||||||
# $MirOS: src/bin/mksh/check.t,v 1.83 2007/01/15 00:38:19 tg Exp $
|
# $MirOS: src/bin/mksh/check.t,v 1.84 2007/01/17 01:24:28 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 $
|
||||||
@ -7,7 +7,7 @@
|
|||||||
# http://www.research.att.com/~gsf/public/ifs.sh
|
# http://www.research.att.com/~gsf/public/ifs.sh
|
||||||
|
|
||||||
expected-stdout:
|
expected-stdout:
|
||||||
@(#)MIRBSD KSH R29 2007/01/14
|
@(#)MIRBSD KSH R29 2007/01/17
|
||||||
description:
|
description:
|
||||||
Check version of shell.
|
Check version of shell.
|
||||||
category: pdksh
|
category: pdksh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
$MirOS: src/bin/mksh/copyright,v 1.18 2007/01/03 22:43:47 tg Exp $
|
$MirOS: src/bin/mksh/copyright,v 1.19 2007/01/17 01:24:29 tg Exp $
|
||||||
|
|
||||||
The MirBSD Korn Shell (mksh) is
|
The MirBSD Korn Shell (mksh) is
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ of said person's immediate fault when using the work as intended.
|
|||||||
|
|
||||||
The developer of mksh recognises the efforts of the pdksh authors,
|
The developer of mksh recognises the efforts of the pdksh authors,
|
||||||
who had dedicated their work into Public Domain, and all contribu-
|
who had dedicated their work into Public Domain, and all contribu-
|
||||||
tors. See the documentation and web site for details.
|
tors. See the documentation, CVS, and web site for details.
|
||||||
|
|
||||||
A number of files that are either always or conditionally included
|
A number of files that are either always or conditionally included
|
||||||
during compilation, depending on the target operating environment,
|
during compilation, depending on the target operating environment,
|
||||||
|
4
sh.h
4
sh.h
@ -8,8 +8,8 @@
|
|||||||
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
|
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
|
||||||
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
|
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
|
||||||
|
|
||||||
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.98 2007/01/15 02:48:27 tg Exp $"
|
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.99 2007/01/17 01:24:29 tg Exp $"
|
||||||
#define MKSH_VERSION "R29 2007/01/14"
|
#define MKSH_VERSION "R29 2007/01/17"
|
||||||
|
|
||||||
#if HAVE_SYS_PARAM_H
|
#if HAVE_SYS_PARAM_H
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user