mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
![Thomas Faber](/assets/img/avatar_default.png)
Fixes crash in msvcrt_winetest:string. This is a hack and is supposed to be specific to the C locale.
30 lines
407 B
C
30 lines
407 B
C
/*
|
|
* The C RunTime DLL
|
|
*
|
|
* Implements C run-time functionality as known from UNIX.
|
|
*
|
|
* Copyright 1996,1998 Marcus Meissner
|
|
* Copyright 1996 Jukka Iivonen
|
|
* Copyright 1997 Uwe Bonnes
|
|
*/
|
|
|
|
#include <precomp.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
char * CDECL _strupr(char *x)
|
|
{
|
|
char *y=x;
|
|
char ch, upper;
|
|
|
|
while (*y) {
|
|
ch = *y;
|
|
upper = toupper(ch);
|
|
if (ch != upper)
|
|
*y = upper;
|
|
y++;
|
|
}
|
|
return x;
|
|
}
|