🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3199

Re: call to revolt

#3199
From: Dan Bernstein
Date: Wed, 26 Jun 1991 17:33
17 lines
930 bytes
I don't understand. Is this whole ``call to revolt'' simply because
someone can't translate

   char *x;
   x += sizeof(int);

into void * terminology? Here goes:

   void *x;
   x = (void *) (sizeof(int) + (char *) x);

Sheesh. By the way, anyone who thinks that the ``safety'' of void *
outweighs the portability of char * must live in a very limited
environment. (An environment where you write code which only runs on one
machine fits my definition of limited.)

---Dan
Technical Details
Message-ID: <20821.Jun2617.33.1091@kramden.acf.nyu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
References: <992@baby.and.nl> <4363@uc.msc.umn.edu> <31822@hydra.gatech.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd
From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein)
Newsgroups: comp.std.c
Subject: Re: call to revolt
Message-ID: <20821.Jun2617.33.1091@kramden.acf.nyu.edu>
Date: 26 Jun 91 17:33:10 GMT
References: <992@baby.and.nl> <4363@uc.msc.umn.edu> <31822@hydra.gatech.EDU>
Organization: IR
Lines: 17