diff --git a/ChangeLog b/ChangeLog index ec7c51d72..44ec601b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-12 Richard Frith-Macdonald + + * Source/NSPropertyList.m: Allow for quoting of numeric/date values + in property lists. Fixes bug #16068 + 2006-03-11 Richard Frith-Macdonald * Headers/Additions/GNUstepBase/GSXML.h: clarify documentation of diff --git a/Source/NSPropertyList.m b/Source/NSPropertyList.m index 466e71a21..6a790d118 100644 --- a/Source/NSPropertyList.m +++ b/Source/NSPropertyList.m @@ -711,6 +711,16 @@ static id parsePlItem(pldata* pld) unsigned char type = *ptr++; len--; + // Allow for quoted values. + if (ptr[0] == '\'' && len > 1) + { + len--; + ptr++; + if (ptr[len - 1] == '\'') + { + len--; + } + } if (type == 'I') { char buf[len+1];