🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26248

Re: gnuplot (is there life after Megamax 1.1?)

#26248
From: ericr
Date: Fri, 10 Apr 1987 15:22
22 lines
1067 bytes

> In doing this I have found two (more!) bugs in Megamax:-
>
>  sizeof("anystring") returns 4 (the size of the pointer!!!!), not 10.

A literal string IS a pointer, so the sizeof did return the correct
value.  This is why you can do things such as:

char *pt;

pt = "String";

----
Eric Ross
Hewlett Packard, Vancouver, WA (Home of the Thinkjet and Quietjet printers)
   
HPDesk: Eric Ross/HP5400/AL (HP Internal)
UUCP:   ihnp4!hpfcla!hpvcla!ericr
CIS:    72347,2664
GEnie:  E.ROSS
Phone:  (206)254-8110
Technical Details
Message-ID: <4730012@hpvcla.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!uw-beaver!tikal!hplsla!hpvcla!ericr
References: <461@cernvax.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!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!uw-beaver!tikal!hplsla!hpvcla!ericr
From: ericr@hpvcla.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: gnuplot (is there life after Megamax 1.1?)
Message-ID: <4730012@hpvcla.HP.COM>
Date: Fri, 10-Apr-87 10:22:25 EST
Article-I.D.: hpvcla.4730012
Posted: Fri Apr 10 10:22:25 1987
Date-Received: Sun, 12-Apr-87 17:43:44 EST
References: <461@cernvax.UUCP>
Organization: Hewlett Packard, Vancouver, WA
Lines: 22