Re: [Exim] fd position in local_scan()

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Phil Chambers
CC: exim-users
Subject: Re: [Exim] fd position in local_scan()
On Tue, 25 Feb 2003, Phil Chambers wrote:

> Section 38.1 (API for local_scan() says that the file descriptor is
> positioned at character 17 if the file. This should read 19. The -D
> file containd the message id plus "-D" as the first line.


Thanks! I'm going to be revising the manual once 4.14 is released.

> It might be that some users' local_scan() code might need to rewind
> the file, so would it be possible to have DATA_START_OFFSET available
> through local_scan.h so that custom local_scan() code would not need
> to be changed if you change the length of the message id in the
> future?


Yes. Good point.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.