Path: utzoo!utgpu!news-server.csri.toronto.edu!csri.toronto.edu!wayne Newsgroups: comp.os.minix From: wayne@csri.toronto.edu (Wayne Hayes) Subject: Re: PC Minix CC Message-ID: <1991Feb15.193820.15619@jarvis.csri.toronto.edu> Organization: CSRI, University of Toronto References: <16438@chopin.udel.edu> Date: 16 Feb 91 00:38:20 GMT Lines: 31 In article <16438@chopin.udel.edu> gdtltr@chopin.udel.edu (root@research.bdi.com (Systems Research Supervisor)) writes: > Has anyone noticed that (sizeof "any old string") returns 2 for >any string? Has anyone fixed this? This is indeed a bug, since "any old string" has the type (char []). It probably thinks "any old string" has type (char *), which is incorrect. However, since ACK cc(1) (the one that comes with PC 1.3 and I think also 1.5) doesn't come with source, it can't be fixed. Well, "can't" is too strong. Apparenty you can *buy* the source from the people who wrote the compiler. Has anyone actually done this? Their address (from Andy's textbook, "Operating Systems: Design and Implementation", p. xvi): In North and South America: In Europe and elsewhere: UniPress Software Transmediair Utrecht BV 2025 Lincoln Highway Melkweg 3 Edison, NJ 08817 3721 RG Bilthoven USA Holland Telephone: (201) 985-8000 Telephone: (30) 78 18 20 And now for a legal question. If someone *did* buy the source for ACK CC, and then fixed some bugs (or maybe the original writers have fixed some bugs?), could the person who bought the source then post the binaries for the new compiler? -- "Dad, what should I be when I grow up?" "Honest." -- Robert M. Pirsig, _Zen and the Art of Motorcycle Maintenence_. Wayne Hayes INTERNET: wayne@csri.utoronto.ca CompuServe: 72401,3525