fix whitespace; ACK RT’s Minix-vmd stmts
This commit is contained in:
parent
4c5d7094ef
commit
ae1ec32dbc
9
Build.sh
9
Build.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.600 2012/12/17 22:14:24 tg Exp $'
|
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.601 2012/12/17 22:57:49 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
|
||||||
@ -619,15 +619,10 @@ LynxOS)
|
|||||||
MidnightBSD)
|
MidnightBSD)
|
||||||
;;
|
;;
|
||||||
Minix-vmd)
|
Minix-vmd)
|
||||||
#XXX @RT: really?
|
|
||||||
add_cppflags -DMKSH__NO_SETEUGID
|
add_cppflags -DMKSH__NO_SETEUGID
|
||||||
add_cppflags -DMKSH_UNEMPLOYED
|
add_cppflags -DMKSH_UNEMPLOYED
|
||||||
add_cppflags -DMKSH_CONSERVATIVE_FDS
|
add_cppflags -DMKSH_CONSERVATIVE_FDS
|
||||||
#XXX added from Minix3; RT didn't use this, why?
|
|
||||||
add_cppflags -DMKSH_NO_LIMITS
|
|
||||||
#XXX why the deviation from Minix3?
|
|
||||||
add_cppflags -D_MINIX_SOURCE
|
add_cppflags -D_MINIX_SOURCE
|
||||||
#XXX two copied from Minix3
|
|
||||||
oldish_ed=no-stderr-ed # no /bin/ed, maybe see below
|
oldish_ed=no-stderr-ed # no /bin/ed, maybe see below
|
||||||
: ${HAVE_SETLOCALE_CTYPE=0}
|
: ${HAVE_SETLOCALE_CTYPE=0}
|
||||||
;;
|
;;
|
||||||
@ -1532,7 +1527,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.600 2012/12/17 22:14:24 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.601 2012/12/17 22:57:49 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
|
||||||
|
2
shf.c
2
shf.c
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/shf.c,v 1.51 2012/12/17 22:14:27 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/shf.c,v 1.52 2012/12/17 22:57:50 tg Exp $");
|
||||||
|
|
||||||
/* flags to shf_emptybuf() */
|
/* flags to shf_emptybuf() */
|
||||||
#define EB_READSW 0x01 /* about to switch to reading */
|
#define EB_READSW 0x01 /* about to switch to reading */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user