[lazarus] Strip(w)

Peter Vreman peter at freepascal.org
Thu Mar 6 01:59:39 EST 2003

> Hello,
> It is normal that Strip(w) makes copies of my documents?
> Only an example: http://luis-digital.8m.com/FPC/stripw.gif
> Whenever use Stripw the content of the file (*.exe) changes.
> I even have a file that has part of my directories (FAT).

strip(w) uses seek() to expand the file for padding. Using that it only
sets the upperlimit of the file and not changing the data that is stored
at that positions before the new upperlimit.

You have to report this behaviour to the GNU bnutils maintainers

More information about the Lazarus mailing list