mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix parsing of octal escape sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ed86931bea
commit
5e2fc3e933
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-10-14 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* Source/NSString.m (parseQuotedString): Fix interpretation of
|
||||
octal escape sequences.
|
||||
|
||||
2003-10-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* GSPrivate.h: New macros to aid with appropriate use of stack
|
||||
|
|
|
@ -4614,7 +4614,7 @@ static inline id parseQuotedString(pldata* pld)
|
|||
{
|
||||
if (escaped == 1 && c >= '0' && c <= '7')
|
||||
{
|
||||
chars[k] = 0;
|
||||
chars[k] = c - '0';
|
||||
hex = NO;
|
||||
escaped++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue