• 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

8
misc.c
View File

@ -29,7 +29,7 @@
#include <grp.h>
#endif
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.105 2009/05/16 16:59:38 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.106 2009/05/16 18:40:07 tg Exp $");
#undef USE_CHVT
#if defined(TIOCSCTTY) && !defined(MKSH_SMALL)
@ -518,12 +518,6 @@ gmatchx(const char *s, const char *p, bool isfile)
if (s == NULL || p == NULL)
return 0;
#if 0
/* debugging output */
fprintf(stderr, "gmatchx:\n\tstring =`%s`\n\tpattern=`%s`\n", s, p);
fflush(stderr);
#endif
se = s + strlen(s);
pe = p + strlen(p);
/* isfile is false iff no syntax check has been done on