Article View: comp.std.c
Article #4685Re: brief summary of Technical Corrigendum 2
From: James Kanze US/ESC 60/3/141 #407...
Date: Mon, 22 Jan 1996 14:36
Date: Mon, 22 Jan 1996 14:36
20 lines
1529 bytes
1529 bytes
In article <1996Jan21.220541.28634@dcs.warwick.ac.uk>
A.Main@dcs.warwick.ac.uk (Zefram) writes:
|> Paul Eggert <eggert@twinsun.com> wrote:
|> >My favorite bit of trivia along these lines is that it is possible
|> >for two non-identical string literals to have the same address!
|> >The null character is the key.
|> Do you mean cases like "abc\0xyz" and "abc", which could compare as equal?
For a suitable definition of compare equal, of course. They might be
at the same address in memory, of course. And strcmp will state that
they are equal.
What definition of compare equal did you have in mind?
--
James Kanze Tel.: (+33) 88 14 49 00 email: kanze@gabi-soft.fr
GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
Conseils, études et réalisations en logiciel orienté objet --
-- A la recherche d'une activité dans une region francophone
Technical Details
Message-ID:
<KANZE.96Jan22153648@slsvewt.lts.sel.alcatel.de>Path:
arc1-ca.pugleaf.net!blackbush.xlink.net!slsv6bt!slsv6bt!kanzeReferences:
<4d554m$q4b@news1.halcyon.com> <4dfgdt$se6@der.twinsun.com> <1996Jan16.174120.3636@sq.com> <4dnq5b$t9a@der.twinsun.com> <1996Jan21.220541.28634@dcs.warwick.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!blackbush.xlink.net!slsv6bt!slsv6bt!kanze From: kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763) Subject: Re: brief summary of Technical Corrigendum 2 In-Reply-To: A.Main@dcs.warwick.ac.uk's message of Sun, 21 Jan 1996 22:05:41 GMT Message-ID: <KANZE.96Jan22153648@slsvewt.lts.sel.alcatel.de> Sender: news@lts.sel.alcatel.de Organization: SEL References: <4d554m$q4b@news1.halcyon.com> <4dfgdt$se6@der.twinsun.com> <1996Jan16.174120.3636@sq.com> <4dnq5b$t9a@der.twinsun.com> <1996Jan21.220541.28634@dcs.warwick.ac.uk> Date: 22 Jan 1996 14:36:47 GMT