Subj : Something..
To   : joseph larsen
From : mark lewis
Date : Fri Oct 09 2015 02:57 pm


08 Oct 15 20:07, you wrote to me:

ml>> what is the error you are getting? when are you getting it?
ml>> compiling? execution?

jl> It simply doesn't appear to do anything. The "writeln" in the source
jl> doesn't output anything. However, when I do a "strace ./imp-mail" it
jl> does appear to.

does the index actually store the message's status (local, sent, private, etc)
or is that in the header file? i see that it reads the index and looks to be
checking the status there instead of from the header... if the message base
operation is like others and the index is just an index, i suspect that you
need to read the index, load the header for the message the index is pointing
to, then check the status of the message and scan it out if needed after which
the header would be rewritten with the scanned attribute being turned on and
then move on to the next index position to read that number and load the next
header... but that's just a guess as i'm not familiar with "imp" and can't
recall what full name it may have...

)\/(ark

... There's an Italian in my house and he won't go away!
---
* Origin:  (1:3634/12.73)