• OSF/1 may not have MAP_FAILED defined either
XXX mmap() works only on devices on some DEC OSes, not on files, so, XXX instead, it were best to disable it altogether • bump date
This commit is contained in:
parent
e755d6d2a9
commit
331b45af7d
4
check.t
4
check.t
@ -1,4 +1,4 @@
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.233 2008/10/20 19:29:23 tg Exp $
|
||||
# $MirOS: src/bin/mksh/check.t,v 1.234 2008/10/24 19:54:22 tg 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: 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
|
||||
|
||||
expected-stdout:
|
||||
@(#)MIRBSD KSH R35 2008/10/20
|
||||
@(#)MIRBSD KSH R35 2008/10/24
|
||||
description:
|
||||
Check version of shell.
|
||||
stdin:
|
||||
|
6
sh.h
6
sh.h
@ -100,9 +100,9 @@
|
||||
#define __SCCSID(x) __IDSTRING(sccsid,x)
|
||||
|
||||
#ifdef EXTERN
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.243 2008/10/20 19:29:25 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.244 2008/10/24 19:54:23 tg Exp $");
|
||||
#endif
|
||||
#define MKSH_VERSION "R35 2008/10/20"
|
||||
#define MKSH_VERSION "R35 2008/10/24"
|
||||
|
||||
#ifndef MKSH_INCLUDES_ONLY
|
||||
|
||||
@ -190,7 +190,7 @@ typedef int bool;
|
||||
#if !defined(MAP_FAILED)
|
||||
# if defined(__linux)
|
||||
#define MAP_FAILED ((void *)-1)
|
||||
# elif defined(__bsdi__) || defined(__ultrix)
|
||||
# elif defined(__bsdi__) || defined(__osf__) || defined(__ultrix)
|
||||
#define MAP_FAILED ((caddr_t)-1)
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user