Hi, Hessu, hi all,
Thank you very much, Hessu, for maintaining Mailgw. I really depend on Mailgw!
At 9:22 PM 99.2.4 +0200, Heikki Hannikainen wrote:
> - Added message counter (msgc) as component in temporary files
> (outgoing smtp and nntp spool), due to linux ftime() returning
> inaccurate time and file names getting duplicated (problem
> pointed out by Ichiro)
This analysis that ftime() returns inaccurate time was wrong. The true
criminal was location of ftime() which was located in an if clause in
0.3.0. When the condition of the if clause was false, ftime() was not
called so that the previous time string was reused.
The ftime() has moved to right place, outside of the if clause in 0.3.1,
this problem has solved. The above strategy that uses message counter is an
good idea (makes things simpler), and not conflict to ftime() location
problem (as far as I believe).
Best regards,
Ichiro Hieda JE1SGH