🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Niklas Hallqvist Thu, 22 Nov 1990 18:15
Bug when saving articles to a pipe which breaks.
#1140
Author: Niklas Hallqvist
Date: Thu, 22 Nov 1990 18:15
26 lines
1554 bytes
	Hello nn-users,

I've discovered a bug in nn version 6.4.12.  When saving a group of
selected articles to a pipe (not as separate files) and the pipe is
broken in one of the articles that's not last, the pipe will be closed
but the remaining articles will still be output on undefined file
descriptor producing a segmentation fault (at least on my machine).

Possible solutions:

1.	Break the while-statement looping over the selected articles
	when the pipe is broken.

2.	Reopen the pipe before continuing with the next article.

I think maybe alternative 1 is what you expect, but I'll leave it up to
Kim to decide what to do about this.  If you want a test case, just
select four or five articles, and S(ave) them to command "|line".

						Niklas
-- 
Niklas Hallqvist	Phone: +46-(0)31-40 75 00
Applitron Datasystem	Fax:   +46-(0)31-83 39 50
Molndalsvagen 95	Email: niklas@appli.se
S-412 63  GOTEBORG, Sweden     mcsun!sunic!chalmers!appli!niklas
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