* Only resize TStringStream.Datastring in case the string will grow because of the write operation

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26599 3ad0048d-3df7-0310-abae-a5850022a9f2
* Added AddEmptyStrings to ExtractStrings (bug 25633)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26600 3ad0048d-3df7-0310-abae-a5850022a9f2