Path: utzoo!attcan!uunet!husc6!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: hardcoded constants Message-ID: <9234@smoke.BRL.MIL> Date: 27 Dec 88 05:27:40 GMT References: <1988Dec8.173158.11839@utzoo.uucp> <846@starfish.Convergent.COM> <1988Dec21.133910.23182@ateng.ateng.com> <77@attibr.UUCP> <789@auspex.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <789@auspex.UUCP> guy@auspex.UUCP (Guy Harris) writes: [quoting somebody:] >>Last I heard sizeof("/") == sizeof(char *) >I don't know who you heard that from, but I suggest you take anything >else they have to say about C with a grain of salt; it is not true. Actually, on at least one release of Gould's UTX-32, apparently the C compiler maintainer decided to "fix" this and their compiler indeed interpreted all sizeof"..." constructs as sizeof(char*). Of course we screamed about this and it was fixed in a later release.