[xmail] Re: log filenames

2004-04-08 Thread Ladislav Sedivy
Davide Libenzi wrote: On Wed, 7 Apr 2004, Ladislav Sedivy wrote: Ok, I built it with Visual Studio 6 (SP5): [LINKY] C:\mailroot\bin xtestv6 ** From Main ** time = Wed Apr 07 19:56:34 2004 timezone = 18000 isdst= 1 tutc = 1081382194 tloc = 1081367794 tval = 1081310400

[xmail] Re: log filenames

2004-04-07 Thread Ladislav Sedivy
Davide Libenzi wrote: On Tue, 6 Apr 2004, Ladislav Sedivy wrote: Davide Libenzi wrote: Ouch. The test program uses exactly the same formula XMail uses to generate log file names, and here all rotstr are fine (ending with ). - Davide Could it be one of the std libs? Or whereever

[xmail] Re: log filenames

2004-04-07 Thread Davide Libenzi
On Wed, 7 Apr 2004, Ladislav Sedivy wrote: Ok, I built it with Visual Studio 6 (SP5): [LINKY] C:\mailroot\bin xtestv6 ** From Main ** time = Wed Apr 07 19:56:34 2004 timezone = 18000 isdst= 1 tutc = 1081382194 tloc = 1081367794 tval = 1081310400 rotstr =

[xmail] Re: log filenames

2004-04-06 Thread Davide Libenzi
On Mon, 5 Apr 2004, Ladislav Sedivy wrote: C:\lang\projects\xtest cl xtest.c /MT Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved. xtest.c Microsoft (R) Incremental Linker Version 7.10.3077

[xmail] Re: log filenames

2004-04-06 Thread Ladislav Sedivy
Davide Libenzi wrote: Ouch. The test program uses exactly the same formula XMail uses to generate log file names, and here all rotstr are fine (ending with ). - Davide Could it be one of the std libs? Or whereever the time functions are. I built the test program with .NET

[xmail] Re: log filenames

2004-04-06 Thread Davide Libenzi
On Tue, 6 Apr 2004, Ladislav Sedivy wrote: Davide Libenzi wrote: Ouch. The test program uses exactly the same formula XMail uses to generate log file names, and here all rotstr are fine (ending with ). - Davide Could it be one of the std libs? Or whereever the time

[xmail] Re: log filenames

2004-04-05 Thread Francesco Vertova
You wrote: Can someone tell me the logic in which last four digits are generated? I see the following ones 0100, and the current ones 2300. Running 1.17 on Win2k. In theory, they should always end in and rotate daily unless you set a shorter rotation time with -Mr (I think)

[xmail] Re: log filenames

2004-04-05 Thread Ladislav Sedivy
Davide Libenzi wrote: On Sun, 4 Apr 2004, Ladislav Sedivy wrote: Can someone tell me the logic in which last four digits are generated? I see the following ones 0100, and the current ones 2300. Running 1.17 on Win2k. They all should be . Can you try to stop and start XMail to

[xmail] Re: log filenames

2004-04-05 Thread Davide Libenzi
On Mon, 5 Apr 2004, Ladislav Sedivy wrote: I restarted and they still end with 2300. Can you try to build and run the following program on your machine? - Davide /* * gcc -o timetest timetest.c -lpthread */ #include stdio.h #include stdlib.h #include time.h #ifdef __GNUC__ #include

[xmail] Re: log filenames

2004-04-05 Thread Ladislav Sedivy
Davide Libenzi wrote: On Mon, 5 Apr 2004, Ladislav Sedivy wrote: I restarted and they still end with 2300. Can you try to build and run the following program on your machine? - Davide All right. Here it goes: C:\lang\projects\xtest cl xtest.c /MT Microsoft (R) 32-bit C/C++

[xmail] Re: log filenames

2004-04-04 Thread Davide Libenzi
On Sun, 4 Apr 2004, Ladislav Sedivy wrote: Can someone tell me the logic in which last four digits are generated? I see the following ones 0100, and the current ones 2300. Running 1.17 on Win2k. They all should be . Can you try to stop and start XMail to see if it generates