- Update many parts of CRT, and misc cleanup.

- Largely based on the patch by Samuel Serapion.
- Include file.c from Wine's msvcrt, but exclude its contents from the build process for now.

svn path=/trunk/; revision=33866
This commit is contained in:
Aleksey Bragin 2008-06-06 17:49:24 +00:00
parent 3f2bc58da5
commit 45ebe0ccc2
89 changed files with 4487 additions and 1700 deletions

View file

@ -1,21 +1,21 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* FILE: lib/msvcrt/mbstring/iskana.c
* FILE: lib/sdk/crt/mbstring/iskana.c
* PURPOSE: Checks for kana character
* PROGRAMER: Ariadne, Taiji Yamada
* PROGRAMER:
* UPDATE HISTORY:
Modified from Taiji Yamada japanese code system utilities
* 12/04/99: Created
* 12/04/99: Ariadne, Taiji Yamada Created
* 05/30/08: Samuel Serapion adapted from PROJECT C Library
*
*/
#include <mbstring.h>
#include <mbctype.h>
#include <internal/mbstring.h>
#include <precomp.h>
/*
* @implemented
*/
int _ismbbkana(unsigned int c)
{
return ((_mbctype+1)[(unsigned char)(c)] & (_KNJ_M|_KNJ_P));
return (_mbctype[c & 0xff] & _MBKANA);
}