bug in strcmp ?
Posted: Thu Dec 28, 2006 7:00 pm
Hi,
I'm getting weird results with strcmp. See below.
It happens with 5.8 and 5.9 in OSX 3.9 and 4 (details below).
However, it seems OK in Linux (details below)
Any idea how to fix this?
I'm getting weird results with strcmp. See below.
It happens with 5.8 and 5.9 in OSX 3.9 and 4 (details below).
However, it seems OK in Linux (details below)
Any idea how to fix this?
Code: Select all
$ uname -a
Darwin firestone.sf.osc.edu 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc
ohu0256@firestone ~
$ nrniv
NEURON -- Version 5.9 2006-07-14 (1461)
by John W. Moore, Michael Hines, and Ted Carnevale
Duke and Yale University -- Copyright 1984-2005
strcmp( "06o31a-C", "06o31A-C" )
32
-----------------
$ uname -a
Darwin axon.zool.ohiou.edu 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
jose@axon ~/Projects/TraceMatch/TraceSetAnalysis/Results
$ nrniv
NEURON -- Version 5.8 2005-10-7 13:46:29 Main (85)
by John W. Moore, Michael Hines, and Ted Carnevale
Duke and Yale University -- Copyright 1984-2005
oc>strcmp( "06o31a-C", "06o31A-C" )
32
-------------
$ uname -a
Linux biowulf 2.4.21-9.0.1.ELamd #2 SMP Tue Jun 15 10:45:33 EDT 2004 i686 athlon i386 GNU/Linux
jose@biowulf ~
$ nrniv
NEURON -- Version 5.9 2006-5-20 18:55:15 Main (39)
by John W. Moore, Michael Hines, and Ted Carnevale
Duke and Yale University -- Copyright 1984-2005
oc>strcmp( "06o31a-C", "06o31A-C" )
1