home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2306 
 Jay Harris to Carlos Navarro 
 Re: Test 
 04 Feb 24 16:20:00 
 
MSGID: 1:229/664 65bfff80
REPLY: 2:341/234.99 65bff558
PID: SmapiNNTPd/Linux 1.2
CHRS: UTF-8 4
TZUTC: -0500
TID: hpt/lnx 1.9 2023-12-21
On 2/4/24 8:36 PM, Carlos Navarro -> Tommi Koivula wrote:

 CN> To prevent other potential problems, it is also convenient to do these
 CN> other modifications in nntpserv.c:

 CN> Change every occurrence (there are 3) of:
 CN>   strcpy(article,&article[1]);
 CN> to:
 CN>   memmove(article,article+1,strlen(article));

 CN> Change:
 CN>   strcpy(from,&from[1]);
 CN> to:
 CN>   memmove(from,from+1,strlen(from));

 CN> Change:
 CN>   strcpy(subject,&subject[4]);
 CN> to:
 CN>   memmove(subject,subject+4,strlen(subject)+3);

 CN> And change:
 CN>   strcpy(text,&text[c]);
 CN> to:
 CN>   memmove(text,text+c,strlen(text)+c-1);

 CN> Carlos
Thanks Carlos, I have these modifications in place here.  I'll let you know
how it goes.


Jay

--- Mozilla Thunderbird
 * Origin: Northern Realms (1:229/664)
SEEN-BY: 15/0 90/1 105/81 106/201 128/260 135/225 153/7715 218/700
SEEN-BY: 226/30 227/114 229/110 112 113 206 307 317 426 428 470 664
SEEN-BY: 229/700 266/512 282/1038 291/111 320/219 322/757 342/200
SEEN-BY: 396/45 460/58 633/280 712/848
PATH: 229/664 426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca