[271] in SIPB bug reports
xrn -- grab it now :-)
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Dec 12 06:43:52 1988
Date: Mon, 12 Dec 88 06:44:14 EST
From: Mark W. Eichin <eichin@ATHENA.MIT.EDU>
To: bug-sipb@ATHENA.MIT.EDU
Message-Id: <8812120037.AA03538@shambhala.berkeley.edu>
To: Mark W. Eichin <eichin@ATHENA.MIT.EDU>
Subject: Re: xrn.. where is it does it exist?
In-Reply-To: Your message of Thu, 08 Dec 88 18:46:32 -0500.
<8812082346.AA06713@OLIVER.MIT.EDU>
Date: Sun, 11 Dec 88 16:37:41 -0800
From: Rick L. Spickelmier <ricks@shambhala.berkeley.edu>
I just put them on ucbvax.
~ftp/pub/xrn.tar.Z x10 version
~ftp/pub/xrn-x11-beta.tar.Z x11 version (beta test)
I've included the PATCHES below. There are still a few things
to do for the X11 version to bring it up to the X10 version
(see the file X11).
Rick
*** /net/eros/source/X/X.V11R3/lib/Xaw/Text.c Fri Oct 28 11:20:01 1988
--- Text.c Wed Nov 30 14:05:28 1988
***************
*** 1939,1944
{
TextWidget ctx = (TextWidget) w;
ctx->text.lastPos = (*ctx->text.source->GetLastPos)(ctx->text.source);
_XtTextPrepareToUpdate(ctx);
_XtTextNeedsUpdating(ctx, from, to);
--- 1939,1945 -----
{
TextWidget ctx = (TextWidget) w;
+ #ifdef BUG
ctx->text.lastPos = (*ctx->text.source->GetLastPos)(ctx->text.source);
#else
ctx->text.lastPos = GETLASTPOS;
***************
*** 1940,1945
TextWidget ctx = (TextWidget) w;
ctx->text.lastPos = (*ctx->text.source->GetLastPos)(ctx->text.source);
_XtTextPrepareToUpdate(ctx);
_XtTextNeedsUpdating(ctx, from, to);
ForceBuildLineTable(ctx);
--- 1941,1949 -----
#ifdef BUG
ctx->text.lastPos = (*ctx->text.source->GetLastPos)(ctx->text.source);
+ #else
+ ctx->text.lastPos = GETLASTPOS;
+ #endif
_XtTextPrepareToUpdate(ctx);
_XtTextNeedsUpdating(ctx, from, to);
ForceBuildLineTable(ctx);
*** /net/eros/source/X/X.V11R3/lib/Xaw/DiskSrc.c Tue Oct 18 09:29:58 1988
--- DiskSrc.c Wed Nov 30 14:05:49 1988
***************
*** 422,427
DiskSourcePtr data;
data = (DiskSourcePtr) src->data;
XtFree((char *) data->buffer);
if (data->is_tempfile) {
unlink(data->fileName);
XtFree((char *) data->fileName);
--- 422,428 -----
DiskSourcePtr data;
data = (DiskSourcePtr) src->data;
XtFree((char *) data->buffer);
+ (void) fclose(data->file);
if (data->is_tempfile) {
unlink(data->fileName);
XtFree((char *) data->fileName);