Re: Solution: Serious bug on perl 5.8 may cause file/folder corruption

Scott Raun <[email protected]> Thu, 11 Sep 2003 20:56:07 -0500
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>
On Thu, Sep 11, 2003 at 01:50:39AM +0100, Paulo Matos wrote:

<snip>

> + Scott Raun's post ("Problem using Pine folder mode", 2003-09-06)
> http://sourceforge.net/mailarchive/forum.php?thread_id=3087517&forum_id=7155

<snip>

> A way to do this changes quickly, will be:
> 
> # perl perl -pi'.bak' -e 's#>>#+>>#gs' neomail.pl neomail-prefs.pl
> 
> this will replace any occurances of ">>" with "+>>", and will save a copy 
> of the files with the '.bak' appended to its name.

Unfortunately, running 

     perl -pi'.bak' -e 's#>>#+>>#gs' neomail.pl neomail-prefs.pl

did not fix my observed problem.  I'm still seeing the following behavior:

1) Move a bunch of files into a new folder
2) Open the folder
3) The From: is correct on all the messages in the new folder.  However,
   _all_ of the rest of the message is from the first message moved into
   the folder.

If I go in as root and manually remove the first message, the rest of
them can be read normally.  The first line of the file does look weird
- here's an example:

     From FFrom rom [email protected] Thu Sep 11 17:37:57 2003

"perl --version" reports:

: This is perl, v5.8.0 built for i386-linux-thread-multi
: 
: Copyright 1987-2002, Larry Wall
: 
: Perl may be copied only under the terms of either the Artistic License
: or the GNU General Public License, which may be found in the Perl 5
: source kit.
: 
: Complete documentation for Perl, including FAQ lists, should be found
: on this system using `man perl' or `perldoc perl'.  If you have access
: to the Internet, point your browser at http://www.perl.com/, the Perl
: Home Page.

I'm running Debian Sarge (AKA Debian Testing).  My packages are all
current as of an hour ago - since getting all the packages current I
have reinstalled neomail, tested, found it still broken, reapplied the
patch, tested again, and found it still broken.

Anything else I could try?

-- 
Scott Raun
[email protected]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf