Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 1590  |
|  mark lewis to all  |
|  makenl msgids  |
|  29 Jul 19 00:21:26  |
 
REPLY: 1:3634/12.73 5d3de600
MSGID: 1:3634/12.73 5d3e7718
PID: GED+LNX 1.1.5-b20180707
CHRS: CP437 2
TZUTC: -0400
TID: hpt/lnx 1.9.0-cur 17-02-17
On 2019 Jul 28 14:14:20, I wrote to you:
ml> has anyone else noticed that makenl is generating 10 character serial
ml> numbers?
the problem is here... specifically, %08lx does not set the maximum length...
only the minimum...
fprintf(MailFILE, "\x01MSGID: %d:%d/%d %08lx\r\n", MyAddress[A_ZONE],
MyAddress[A_NET], MyAddress[A_NODE], GetSequence());
something like this should work but i'm not a C coder and haven't tried to
actually compile something to test this with...
char* serialnum = printf("%08lx", GetSequence());
if (strlen(serialnum) > 8)
{
serialnum = serialnum + strlen(serialnum) - 8;
}
fprintf(MailFILE, "\x01MSGID: %d:%d/%d %s\r\n", MyAddress[A_ZONE],
MyAddress[A_NET], MyAddress[A_NODE], serialnum);
)\/(ark
Once men turned their thinking over to machines in the hope that this would
set them free. But that only permitted other men with machines to enslave them.
... Why do croutons come in airtight packages? It's just stale bread.
---
* Origin: (1:3634/12.73)
SEEN-BY: 1/120 123 14/6 15/2 18/0 116/116 123/0 25 50 150 755 135/300
SEEN-BY: 153/757 7715 154/10 203/0 221/0 1 6 360 226/17 227/114 229/354
SEEN-BY: 229/426 1014 240/5832 249/206 317 261/38 280/464 5003 5555
SEEN-BY: 292/854 310/31 317/3 320/219 322/757 342/200 396/45 423/120
SEEN-BY: 460/58 633/280 640/1321 1384 712/848 770/1 3634/0 12 15 24
SEEN-BY: 3634/27 50
PATH: 3634/12 640/1384 221/1 280/464 229/426
|
[ << oldest | < older | list | newer > | newest >> ]