From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX"  8-MAR-1991 17:27:22.24
To:	ARISIA::EVERHART
CC:	
Subj:	Re: A Little Gizmo to Fix Savesets

From:	RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2
To:	Everhart@Arisia@MRGATE

Received:  by crdgw1.ge.com (5.57/GE 1.89)
	 id AA11244; Fri, 8 Mar 91 11:29:22 EST
Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Thu,  7 MAR 91 13:46:20 PST
Received: by ucbvax.Berkeley.EDU (5.63/1.42)
	id AA18569; Thu, 7 Mar 91 13:40:43 -0800
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: 7 Mar 91 14:39:22 GMT
From: maverick.ksu.ksu.edu!deimos.cis.ksu.edu!mccall.com!tp@uunet.uu.net  (Terry Poot)
Organization: The McCall Pattern Co., Manhattan, KS, USA
Subject: Re: A Little Gizmo to Fix Savesets
Message-Id: <1991Mar7.083923@mccall.com>
References: <1991Feb28.122919@bill.ab.umd.edu>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

In article <1991Feb28.122919@bill.ab.umd.edu>, bill@bill.ab.umd.edu
(Bill Bame) writes:
>  int fd,buffer[10],status;
                 ^^
>      if ((read(fd,buffer,44)) < 0) {
                           ^^
>    printf("size = %d",buffer[10]);
                               ^^

I think you meant to declare buffer as "buffer[11]"
--
Terry Poot <tp@mccall.com>                   The McCall Pattern Company
(uucp: ...!rutgers!ksuvax1!deimos!mccall!tp) 615 McCall Road
(800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA

