mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Backport timezone parsing fix from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/base-1_13_0@24139 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ae7e4ecf79
commit
aa2ba541e7
1 changed files with 1 additions and 2 deletions
|
@ -1183,8 +1183,7 @@ static inline int getDigits(const char *from, char *to, int limit, BOOL *error)
|
|||
case 'Z':
|
||||
for (tmpIdx = sourceIdx; tmpIdx < sourceLen; tmpIdx++)
|
||||
{
|
||||
if (isalpha(source[tmpIdx]) || source[tmpIdx] == '-'
|
||||
|| source[tmpIdx] == '+')
|
||||
if (!isspace(source[tmpIdx]))
|
||||
{
|
||||
tmpStr[tmpIdx - sourceIdx] = source[tmpIdx];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue