Bug 99085

Summary: Make pattern searching slightly quicker
Product: [Retired] Red Hat Linux Reporter: Tim Waugh <twaugh>
Component: muttAssignee: Bill Nottingham <notting>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-26 22:23:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
mutt-fast.patch none

Description Tim Waugh 2003-07-14 11:39:29 UTC
Description of problem:
Here is a patch to make message searches slightly quicker by eliminating a
redundant strlen for each line in a message being checked against a pattern.

It makes mutt use getline, a GNU libc extension function, rather than fgets+strlen.

Comment 1 Tim Waugh 2003-07-14 11:40:07 UTC
Created attachment 92910 [details]
mutt-fast.patch

Comment 2 Bill Nottingham 2005-01-26 22:23:29 UTC
Sent upstream.