fix for the SUNpro 8 on yofuh's E420:

cc: Sun C 5.8 Patch 121015-04 2007/01/10
This commit is contained in:
tg
2007-06-05 19:48:47 +00:00
parent 487eff541d
commit 63c31c43e3
6 changed files with 65 additions and 18 deletions

11
misc.c
View File

@ -6,7 +6,7 @@
#include <grp.h>
#endif
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.54 2007/05/13 18:33:29 tg Exp $\t"
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.55 2007/06/05 19:48:47 tg Exp $\t"
MKSH_SH_H_ID);
#undef USE_CHVT
@ -1425,3 +1425,12 @@ stristr(const char *b, const char *l)
return (b - 1);
}
#endif
#if !HAVE_EXPSTMT
bool
ksh_isspace_(unsigned char ksh_isspace_c)
{
return ((ksh_isspace_c >= 0x09 && ksh_isspace_c <= 0x0D) ||
(ksh_isspace_c == 0x20));
}
#endif