When messages are %RESCANed hpt doesn't use the __ftsc_date field from
the Squish message base, but the 2-second precision DOS date. Which
means some messages (~50%) are exported with the time one second off.
Some tosser's dupe checkers might fail ...
When messages are %RESCANed hpt doesn't use the __ftsc_date field
from the Squish message base, but the 2-second precision DOS date.
Which means some messages (~50%) are exported with the time one
second off.
I've never seen uneven timestamps in my editor. Hell, at the moment of writing i see 12:43:49 in the header on the from/to lines. But after saving the mail it switched to 12:43:48, lucky me. ;-)
As far as i remember squish does have a 2 seconds resolution. But i don't know why. If i do not see further than my nose i would say 2 second resolution is the standard and if you have uneven timestamps in your msgbase than that is the bug.
Some tosser's dupe checkers might fail ...
Is this speculation/theory or could you name a real issue?
say 2 second resolution is the standard and if you have uneven
timestamps in your msgbase than that is the bug.
The DOS time format uses a 2 seconds resolution. The creation and
received date is stored has DOS time in the Squish message base.
Some tosser's dupe checkers might fail ...
Is this speculation/theory or could you name a real issue?
This is what other nodes have reported and I have no reason to doubt
it. Don't you think there are tossers out there which believe that
messages with different time stamps are not the same?
doesn't matter, because per Squish specification the __ftsc_date
should be used on export (rescan). What would be the benefit of not
using the exact time when it's available?
Hello Oli!
01 Feb 21, Oli wrote to Kai Richter:
say 2 second resolution is the standard and if you have uneven
timestamps in your msgbase than that is the bug.
The DOS time format uses a 2 seconds resolution. The creation and
received date is stored has DOS time in the Squish message base.
After export the pkt message does no longer have creation date? As for FTS-0001 it's the last edited date?
Some tosser's dupe checkers might fail ...
Isn't the MSGID the solution for that problem?
Is this speculation/theory or could you name a real issue?
This is what other nodes have reported and I have no reason to doubt
it. Don't you think there are tossers out there which believe that
messages with different time stamps are not the same?
I don't know (out there). I think because of ASCII DateTime would not effect DOS 16-bit file format date stamps it should be ok to see
different time stamps as different mails.
I don't doubt that the problem exist but for fault confirmation and trouble shooting it is easier to know the software in use.
doesn't matter, because per Squish specification the __ftsc_date
I will forward you my messy research for the format. In short: For FTS-0001 DateTime is the creation date of the message. A packed message use the last edited date. For type 2 pkt format it's the pkt creation date.
After reading those specs i would recomment msgid for dupe checking. ;-)
should be used on export (rescan). What would be the benefit of not
using the exact time when it's available?
Same like if using: Nothing? Even with a fix available - every hpt system have to use that fix to get rid of the problem. And i think we both know that that is most unlikely to happen.
The XMSG structure has the following format:
I don't doubt that the problem exist but for fault confirmation
and trouble shooting it is easier to know the software in use.
hpt does it wrong. I tested it. What else is there to trouble shoot?
It's just a simple bug ...
It only affects systems that use a Squish database and have downlinks
that do a %RESCAN.
It's just a simple bug ...
If it is it would be fixed already.
You reported this one a year ago, don't you?
I suspect the patch below fixes this, but I've not tested it.
It's also necessary to verify it doesn't break when rescanning *.MSG and JAM bases.
- sc_time((union stamp_combo *)&(xmsg.date_written), (char *)msg->datetime);
+ strcpy((char *)msg->datetime, (char *) xmsg.__ftsc_date);
It's just a simple bug ...
If it is it would be fixed already.
You reported this one a year ago, don't you?
I don't know why it doesn't get fixed. Maybe nobody wants to touch
that part of the code anymore. A project where critical bugs doesn't
get fixed anymore is kind of abandoned.
I suspect the patch below fixes this, but I've not tested it.
It's also necessary to verify it doesn't break when rescanning
*.MSG and JAM bases.
- sc_time((union stamp_combo *)&(xmsg.date_written), (char
*)msg->datetime); + strcpy((char *)msg->datetime, (char *)
xmsg.__ftsc_date);
What happens if xmsg.__ftsc_date is empty? Local messages don't have an __ftsc_date and it could also be missing for other reasons (messages converted from another message base format, copied/moved in a message editor or tossed by a tosser that doesn't copy the __ftsc_date).
10 Feb 21 11:04, you wrote to me:
What happens if xmsg.__ftsc_date is empty? Local messages don't
have an __ftsc_date and it could also be missing for other reasons
(messages converted from another message base format, copied/moved
in a message editor or tossed by a tosser that doesn't copy the
__ftsc_date).
Good point. But it's easy to test for that condition.
if (*xmsg.__ftsc_date == '\0')
{
/* __ftsc_date is empty, so use xmsg.date_written */
sc_time( ...
}
else
{
/* use xmsg.__ftsc_date */
strcpy( ...
}
Date and time : 10 Feb 21 14:58:42
Last one is a message with an empty __ftsc_date field.
(I had to use an hex editor, because Golded does write the __ftsc_date
for messages created in the editor, even the Squish developer
documentation strongly advises against it).
I don't know why it doesn't get fixed. Maybe nobody wants to touch
that part of the code anymore. A project where critical bugs doesn't
get fixed anymore is kind of abandoned.
So, where is a pull request from you? I don't see it.
As to me, I have a different view on what is critical and what is not so critical. I have a long list of what should be done in Husky and I pick the items from the list according to my idea of which item is more important to me. I may also pick a somewhat less important item if it requires a little time. And I have my life besides Fidonet, particularly
I still have a job despite the fact that I am 73 y/o. So I cannot work
for Fidonet full time, but only when I have some time for it.
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 09:51:00 |
Calls: | 273 |
Files: | 5,593 |
Messages: | 225,375 |