From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 23-AUG-1990 22:04:02.09
To:	MRGATE::"ARISIA::EVERHART"
CC:	
Subj:	PBMPLUS patches 0/3

Received:  by crdgw1.ge.com (5.57/GE 1.70)
	 id AA14313; Thu, 23 Aug 90 21:46:02 EDT
Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Thu, 23 AUG 90 14:05:22 PDT
Received: by ucbvax.Berkeley.EDU (5.63/1.42)
	id AA22366; Thu, 23 Aug 90 13:50:59 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 23 Aug 90 13:53:03 GMT
From: maverick.ksu.ksu.edu!deimos.cis.ksu.edu!mccall!tp@uunet.uu.net
Organization: The McCall Pattern Co., Manhattan, KS, USA
Subject: PBMPLUS patches 0/3
Message-Id: <20.26d3dfc0@mccall.com>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

Submitted-by: tp@mccall.com (Terry Poot)
Archive-name: pbmplus/patch2-part0

Following this are 3 articles containing patches to PBMPLUS. These patches
are needed for VMS, although someone mentioned he had to do the same thing
on a MIPS system. The patches change all occurances of %g as in input
format (i.e. used in scanf or sscanf calls) to %f. According to K&R, 2nd
edition, these are equivalent for input in ANSI C, so these changes
shouldn't cause anyone any problems. They aren't ifdef'ed for VMS.

There is one patch file for each of PBM, PGM, and PPM. Go to the
appropriate directory and feed the patch file to the patch utility (the one
from the net, NOT the VMS patch command) to do all the patches in that
directory. Then rebuild the affected programs.

The programs to be patched are: pbmreduce, pgmnorm, pgmtopbm, ppmrotate,
ppmscale, and ppmshear.

*WARNING* This patch supersedes my previous patch to ppmscale, which had
the "Archive-name "pbmplus/patch1-part1". If you applied that patch to
ppmscale, you must remove the patch before applying this one. To do this,
just feed the old patch file to patch again, and when it asks "assume -R
[y]? ", hit return. This will restore the original source file, which will
then be patched by the PPM patches in this set.
-- 
Terry Poot <tp@mccall.com>                The McCall Pattern Company
(uucp: ...!rutgers!ksuvax1!mccall!tp)     615 McCall Road
(800)255-2762, in KS (913)776-4041        Manhattan, KS 66502, USA

