DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T x

⟦3eb16d198⟧ TextFile

    Length: 2347 (0x92b)
    Types: TextFile
    Names: »xbin_fix«

Derivation

└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen
    └─ ⟦this⟧ »cph85dist/macintosh/xbin/xbin_fix« 

TextFile

From mcvax!seismo!gatech!amdcad!jimb Wed Aug  7 18:26:12 MET DST 1985
Article 286 of net.sources.mac:
Relay-Version: version B 2.10.1 6/24/83 (MC840302); site diku.UUCP
Posting-Version: version B 2.10.3 alpha 4/15/85; site amdcad.UUCP
Path: diku!mcvax!seismo!gatech!amdcad!jimb
>From: jimb@amdcad.UUCP (Jim Budler)
Newsgroups: net.sources.mac
Subject: Another (small) change to xbin.c
Message-ID: <2363@amdcad.UUCP>
Date: Mon, 5-Aug-85 04:40:03 GMT
Article-I.D.: amdcad.2363
Posted: Mon Aug  5 04:40:03 1985
Date-Received: Tue, 6-Aug-85 06:14:12 GMT
Reply-To: jimb@amdcad.UUCP (Jim Budler)
Organization: AMD, Sunnyvale, California
Lines: 50
Keywords: xbin

I don't know how many people need this.  Our Valid workstation complains
about the use of the & operator between an int and a boolean.  Therefore
I added a cast to int to fix it.  It still compiles on a Vax of course.
Here it is.
---------------------< cut here >----------------------
*** xbin.c.orig	Sun Aug  4 13:27:45 1985
--- xbin.c	Sun Aug  4 17:33:09 1985
***************
*** 102,107
   * revised jcb 03/30/85 -- revised for compatibility with 16-bit int
   * revised liberte  07/12/85 -- added trlookup for indexed translation
   * revised vishniac 07/23/85 -- picked out some more lint
   */
  char usage[] = "usage: \"xbin [-v] [-l] [-o] [-n name] [-] filename\"\n";
  

--- 102,108 -----
   * revised jcb 03/30/85 -- revised for compatibility with 16-bit int
   * revised liberte  07/12/85 -- added trlookup for indexed translation
   * revised vishniac 07/23/85 -- picked out some more lint
+  * revised jcb 08/04/85 -- added cast of boolean to int for Valid
   */
  char usage[] = "usage: \"xbin [-v] [-l] [-o] [-n name] [-] filename\"\n";
  
***************
*** 583,589
  		obuf[1] = (ibuf[1] << 4 | ibuf[2] >> 2);
  		obuf[2] = (ibuf[2] << 6 | ibuf[3]);
  	}
! 	if ((eof) & (op >= &obuf[eof]))
  		return EOF;
  	c = *op++;
  	if (op >= oend)

--- 584,590 -----
  		obuf[1] = (ibuf[1] << 4 | ibuf[2] >> 2);
  		obuf[2] = (ibuf[2] << 6 | ibuf[3]);
  	}
! 	if ((eof) & (int) (op >= &obuf[eof])) /* cast needed by Valid - jcb */
  		return EOF;
  	c = *op++;
  	if (op >= oend)
-- 
 Jim Budler
 Advanced Micro Devices, Inc.
 (408) 749-5806
 UUCPnet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amdcad!jimb
 Compuserve:	72415,1200

"... Don't sue me, I'm just the piano player!...."