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.   [33 / 109] RSS
 From   To   Subject   Date/Time 
Message   Andrew Leary    Wilfred van Velzen   MakeNL 3.4.6 Release   December 2, 2016
 10:24 AM *  

Hello Wilfred!

02 Dec 16 13:11, you wrote to me:

 WV> Your using strcpy to copy overlapping strings. The behaviour of strcpy
 WV> when source and destination overlap is undefined for all definitions
 WV> of strcpy I know. So it might work, or it might not, for all
 WV> permutations of compilers, os's and compiler options, that makenl is
 WV> compiled on.

 WV> I suggest:

 WV>                  memmove(templine, templn2, strlen(templn2) + 1);

 WV> The same is true for the fts5.c file, with about the same code...

Good point.  I will make that change today.  The released files do work, as 
the compilers used (OpenWatcom 1.9 and gcc 5.3.0) apparently do the copy left 
to right, so the source isn't overwritten until after it has been read and 
copied to the destination.  For portability purposes, it should be fixed.

Thanks for the report.

Andrew

--- GoldED+/LNX 1.1.5-b20160322
 * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)
  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.0805 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_muvjngd6c73abgi550nheabn74, 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_muvjngd6c73abgi550nheabn74, 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_muvjngd6c73abgi550nheabn74, 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