• remove “#if 0” and “#ifdef notdef” style old debugging code

• expose “#ifdef MKSH_MIDNIGHTBSD01ASH_COMPAT” just in case they decide to
  require it and show it in the ksh version automatically
• sync the use of non-ASCII characters over files (unification)
This commit is contained in:
tg
2009-05-16 18:40:09 +00:00
parent cde2f02986
commit b6ce748064
10 changed files with 30 additions and 53 deletions

9
sh.h
View File

@ -122,7 +122,7 @@
#define __SCCSID(x) __IDSTRING(sccsid,x)
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.297 2009/05/16 16:59:39 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.298 2009/05/16 18:40:09 tg Exp $");
#endif
#define MKSH_VERSION "R38 2009/05/16"
@ -341,7 +341,12 @@ EXTERN uid_t ksheuid; /* effective uid of shell */
EXTERN int exstat; /* exit status */
EXTERN int subst_exstat; /* exit status of last $(..)/`..` */
EXTERN const char *safe_prompt; /* safe prompt if PS1 substitution fails */
EXTERN const char initvsn[] I__("KSH_VERSION=@(#)MIRBSD KSH " MKSH_VERSION);
EXTERN const char initvsn[] I__("KSH_VERSION=@(#)MIRBSD KSH "
MKSH_VERSION
#ifdef MKSH_MIDNIGHTBSD01ASH_COMPAT
"MidnightBSD-0.1-ash-compat"
#endif
);
#define KSH_VERSION (initvsn + /* "KSH_VERSION=@(#)" */ 16)
/*