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?
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?
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);
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: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 787 |
Nodes: | 20 (0 / 20) |
Uptime: | 51:23:09 |
Calls: | 11,949 |
Calls today: | 4 |
Files: | 5,294 |
D/L today: |
35 files (20,464K bytes) |
Messages: | 554,562 |