[exim-dev] [Bug 943] exiqgrep error on messages without size

Pàgina inicial
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
A: exim-dev
Assumptes vells: [exim-dev] [Bug 943] New: exiqgrep error on messages without size
Assumpte: [exim-dev] [Bug 943] exiqgrep error on messages without size
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=943

Nigel Metheringham <nigel@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Exim 4.72                   |Exim 4.73


Phil Pennock <pdp@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pdp@???





--- Comment #1 from Phil Pennock <pdp@???> 2011-02-06 09:05:03 ---
So I believe that this is happening when a race condition is hit, either when a
message is delivered or when the queue-run is done at the DATA stage, before
the mail content starts to come in.

Thus exiqgrep needs to be fixed, yes.

However, perhaps I'm missing something at 4am, but why is the fix adding 19
lines of code repeating what's gone before, but with more indentation? Is it
not sufficient to change the regexp to make matching the size and following
whitespace optional and then, if that did not match, just set the value to 0K?
Looks like changing one regexp and adding one line of code.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email