🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by David Tiller Wed, 16 Nov 1994 20:29
Tin 1.22 + Solaris 2.3 bug
#12863
Author: David Tiller
Date: Wed, 16 Nov 1994 20:29
21 lines
1828 bytes
I found a problem with tin-1.22 and Solaris 2.3.  To reproduce: 

1) create a file called ~/News/bugtest
2) tag an article and save the Thread as filename bugtest, but answer no
   to the 'append?' question.
3) You'll get a segmentation violation.

A little work with GDB reveals that get_first_savefile() and get_last_savefile()
return NULL pointers that are sent to sprintf, causing the seg. violation.
(This is in save.c, around line 452).  It shouldn't be printing a message about
having saved any files since it didn't. Changing return ((char *) 0) to
return ("") works since "" is a pointer to an explicit '\0', not a NULL pointer.   

As an enhancement, could you include overwite to the choices instead of just 
append?   Thanks in advance,

---
David Tiller                | Network Administrator | Voice: (804) 752-3710   |
dtiller@rmc.edu |  n2kau/4  | Randolph-Macon College| Fax:   (804) 752-7231   |
  Don't let your SKS get    | P.O. Box 5005         | ICBM:  37d 42' 43.75" N |
"Tainted with Defilement!"  | Ashland, Va 23005     |        77d 31' 32.19" W |
Re: Tin 1.22 + Solaris 2.3 bug
#12980
Author: Iain Lea
Date: Mon, 21 Nov 1994 09:29
9 lines
1034 bytes
David Tiller (dtiller@rmc.edu) wrote:
: As an enhancement, could you include overwite to the choices instead of just 
: append?   Thanks in advance,

Done for the next release.

-- 
iain.lea@erlm.siemens.de  +49-9131-7-43402
 'Raus aus dem Alltag, rein in die Kiste'
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads