[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Bug#4280: ark : file/new - the window title is "save as" instead of
From:       Stephan Kulow <Stephan.Kulow () kde ! org>
Date:       2000-05-31 20:34:09
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Wed, 31 May 2000, Harri Porten wrote:
> > On Wed, 31 May 2000, David Faure wrote:
> > > Question to Stephan and Harri, probably:
> > > why does kde-devel receive bug reports for ark ?
> > >
> > > On Tue, May 30, 2000 at 07:48:44PM -0700, Linux QA wrote:
> > > > Content-Type: text/plain; charset=us-ascii
> > > > Content-Transfer-Encoding: 7bit
> >
> > I think the script looking for the "Package" line gets irritated by the
> > two lines above. That's why mails with attachments have processing
> > problems as well IIRC.
> 
> Basically the script that processes these bug-reports is crap. Any volunteers
> to fix this?
> 
For anyone interested: look at bugs/scripts/process.in. If someone knows
some
good perl modules that make mail message parsing easier, off we go.

The code in question looks something like this:

while ($msg[$i] =~ m/^(\w+):\s*/) {
    $fn=$1; $fv = $';
print DEBUG ">$fn|$'|\n";
    $fwd .= $fn.': '.$fv."\n";
    while ($msg[++$i] =~ m/^\s/) { $fwd .= $msg[$i]."\n"; $fv .= '
'.$msg[$i]; }
    $fn =~ y/A-Z/a-z/;
    $pheader{$fn}= $fv;
print DEBUG ">$fn~$fv<\n";
}   

Scary I say :)

Greetings, Stephan

-- 
... but you ain't had mine
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic