mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
2ced1d329345be77eeb02a5d5be00c8de007522e
isdigit(), isgraph(), islower(), isprint(), ispunct(), isspace(), isupper(), isxdigit(), tolower() and toupper() functions to clamp the input parameter to the "unsigned char" range before it is submitted to the respective locale.library function. This should be in sync with what the specs demand, which state that if the input parameter is neither EOF nor in the range of an "unsigned char" variable, then the results are undefined. - ungetc() now returns the input character, clamped to an unsigned char value, upon success. Previously, if the input parameter was negative and not EOF, the result was identical to the input, which could have had negative side-effects. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14958 87f5fb63-7c3d-0410-a384-fd976d0f7a62
Description
Languages
C
98.6%
Assembly
1.2%