Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to MakeNL Next Generation.  <--  <--- Return to Home Page
   Networked Database  MakeNL Next Generation.   [106 / 109] RSS
 From   To   Subject   Date/Time 
Message   Vince Coen    mark lewis   makenl msgids   July 29, 2019
 12:55 PM *  

Hello mark!

Monday July 29 2019 00:21, you wrote to all:

I am now really confused - I use 3.5.0 compiled on a X64 system and it 
produces
8 char sequence numbers.


 >  On 2019 Jul 28 14:14:20, I wrote to you:

 ml>> has anyone else noticed that makenl is generating 10 character
 ml>> serial 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.


Vince

--- Mageia Linux v6 X64/Mbse v1.0.7.12/GoldED+/LNX 1.1.501-b20150715
 * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to MakeNL Next Generation.  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0742 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_7qs94bccqn4cq822ol0feb4pr3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_7qs94bccqn4cq822ol0feb4pr3, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_7qs94bccqn4cq822ol0feb4pr3, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0