🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4854

Possible bug in standard... I assume this is fixed?

#4854
From: Peter Seebach
Date: Sat, 02 Mar 1996 16:05
22 lines
1182 bytes
6.2.1 says that identifiers which differ in significant characters are
distinct, and then says that if two identifiers differ in non-significant
characters, the behavior is undefined.

So, on the gratuitously hostile 6-character monocase implementation, is
this legal?

	int a12345z,
	    b12345y;

They clearly differ in insignificant characters.

I assume the former sentance protects them, but would like some certainty;
a coworker has told me that another person on a project we're on is
sure some IBM system won't *allow* names over 6 characters.

-s
-- 
Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
FUCK the communications decency act.  Goddamned government.  [literally.]
The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
Technical Details
Message-ID: <4h9rka$hfn@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: seebs@solutions.solon.com (Peter Seebach)
Newsgroups: comp.std.c
Subject: Possible bug in standard... I assume this is fixed?
Date: 2 Mar 1996 10:05:30 -0600
Organization: Usenet Fact Police (Undercover)
Message-ID: <4h9rka$hfn@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com