You are here: PSPad forum > Bug report / Hlášení chyb > Bug when overwriting text file with a shorter version

Bug when overwriting text file with a shorter version

#1 Bug when overwriting text file with a shorter version

Posted by: blubbb | Date: 2017-09-11 14:12 | IP: IP Logged

Hi,

I use PSPad to take down notes on a text file on a usb key drive that is connected to my router.

If I follow these steps a problem occurs:

1. Open PSPad
2. In a new text file (DOS / Ansi) enter "testtest"
3. Save as a.txt
4. Close a.txt
5. Reopen a.txt
6. Replace "testtest" by "abc"
7. Save a.txt
8. Close a.txt
9. Reopen a.txt

You will see the text is not "abc" as previously saved but "abcttest" instead! So there is some residue from the old version of the file. This happens only on the network drive, not locally.

Only PSPad has this problem. I can do this on the Windows command line and all is correct:

R:\>echo testtest > a.txt

R:\>type a.txt
testtest

R:\>echo abc > a.txt

R:\>type a.txt
abc

Edited 1 time(s). Last edit at 2017-09-11 14:14 by blubbb.

Options: Reply | Quote | Up ^


#2 Re: Bug when overwriting text file with a shorter version

Posted by: pspad | Date: 2017-09-11 17:14 | IP: IP Logged

Hello

I am afraid I am not able to simulate it.
Which PSPad version do you use?
Can you confirm your bug with PSPad 5 (available in the developer forum)?

Options: Reply | Quote | Up ^


#3 Re: Bug when overwriting text file with a shorter version

Posted by: blubbb | Date: 2017-09-11 17:57 | IP: IP Logged

Apparently the bug is gone in version 5. Thanks.

Options: Reply | Quote | Up ^


#4 Re: Bug when overwriting text file with a shorter version

Posted by: pspad | Date: 2017-09-11 19:02 | IP: IP Logged

Thank you for info

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR