🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.usg
Article #311

SVR2 "pr" bug fix

#311
From: Doug Gwyn
Date: Wed, 14 May 1986 04:38
13 lines
948 bytes
As reported (problem id #743) in the UNIX System V Known Problem List,
the command "pr -d -2 -l61" (any odd page length, multi-column output)
results in only one page of output.  Here is what I believe to be a
fix for this bug.

...
char xxxnotused[] = "@(#)pr.c	1.3";
...
nexbuf()
...
		/* DAG -- bug fix (added "+ Dblspace - 1" in the following line) */
		for (j = (Length - Margin + Dblspace - 1)/Dblspace; --j >= 0; ++bline)
...
Technical Details
Message-ID: <827@brl-smoke.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-adm!brl-smoke!gwyn

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-adm!brl-smoke!gwyn
From: gwyn@brl-smoke.ARPA (Doug Gwyn )
Newsgroups: net.bugs.usg
Subject: SVR2 "pr" bug fix
Message-ID: <827@brl-smoke.ARPA>
Date: Wed, 14-May-86 00:38:46 EDT
Article-I.D.: brl-smok.827
Posted: Wed May 14 00:38:46 1986
Date-Received: Sun, 25-May-86 11:41:44 EDT
Distribution: net
Organization: Ballistic Research Lab (BRL)
Lines: 13