🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #12840

Re: byte order: be reasonable - do it my way...

#12840
From: Patrick Powell
Date: Sun, 18 Jan 1987 02:11
24 lines
1258 bytes
In order to spare the innocent,  I will briefly note:

mumble proc(x)
	char *x;
	{ .... }


int i;
char c;
(void) proc(&c); <--O.K.
(void) proc(&i); <--SSSSSSSSSS BOOOOOO

Since when do you assume that a pointer to int has the same FORM
as a pointer to char?  Sigh...

I think that the originator of the idea has to work on a word based machine
for his sins.

Patrick ("Two days programming in FORTRAN IV on a IBM 7090 or
		50 lashes"  "I'll take the lashes!!!") Powell
-- 
Patrick Powell, Dept. Computer Science, 136 Lind Hall, 207 Church St. SE,
University of Minnesota,  Minneapolis, MN 55455 (612)625-3543/625-4002
Technical Details
Message-ID: <1328@umn-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!dayton!umn-cs!papowell
References: <760@orcisi.UUCP> <1011@cuuxb.UUCP> <753@vaxb.calgary.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!dayton!umn-cs!papowell
From: papowell@umn-cs.UUCP (Patrick Powell)
Newsgroups: comp.arch,comp.sys.intel,comp.sys.m68k
Subject: Re: byte order: be reasonable - do it my way...
Message-ID: <1328@umn-cs.UUCP>
Date: Sat, 17-Jan-87 21:11:50 EST
Article-I.D.: umn-cs.1328
Posted: Sat Jan 17 21:11:50 1987
Date-Received: Mon, 19-Jan-87 03:43:43 EST
References: <760@orcisi.UUCP> <1011@cuuxb.UUCP> <753@vaxb.calgary.UUCP>
Reply-To: papowell@umn-cs.UUCP (Patrick Powell)
Organization: University of Minnesota
Lines: 24