* main.c: when doing the conversion from strcasecmp (wrongly used)

to strcasestr, it was used in a wrong way (reverse logic error in
  checking its return value), turning to mis-detection of UTF-8 locale.
* sh.h, check.t: bump version
* copyright: bump year
This commit is contained in:
tg
2007-01-03 22:43:48 +00:00
parent 127760cfa5
commit 17a3fffc26
4 changed files with 10 additions and 10 deletions

4
sh.h
View File

@ -8,8 +8,8 @@
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.88 2006/12/11 16:09:49 tg Exp $"
#define MKSH_VERSION "R29 2006/12/07"
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.89 2007/01/03 22:43:48 tg Exp $"
#define MKSH_VERSION "R29 2007/01/03"
#if HAVE_SYS_PARAM_H
#include <sys/param.h>