Re: Don't Plan 9 C compiler initialize the rest of member of a?struct?

Anthony Martin <[email protected]>
Newsgroups gmane.os.plan9.general
Message-ID <20190402162558.GA14506@alice>
Charles Forsyth <[email protected]> once said:
> I didn't look at the code closely enough earlier, but remembered something
> from years ago this morning. It's a bug. It isn't platform specific.
> There is an existing fix in 9front (I think it came from there) but it's
> horrible. Still, better a horrible fix than buggy code, so I'll apply it to
> the 9legacy version as well.

It's in /sys/src/cmd/cc/dcl.c:/^contig

What was horrible about the fix? 

  Anthony
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.