[Pkg-octave-devel] Bug#867212: octave: Octave function strncmp is case insensitive

Mike Miller mtmiller at debian.org
Tue Jul 4 21:26:16 UTC 2017


Control: forwarded -1 https://savannah.gnu.org/bugs/?51384
Control: tags -1 + confirmed

On Tue, Jul 04, 2017 at 21:56:20 +0200, Thierry Rascle wrote:
> Octave function strncmp performs a case insensitive string comparison,
> like strncmpi. strncmp should do a case sensitive string comparison.
> 
> This issue seems to affect recent versions of Octave. The version in
> Debian Stable is not affected.

Thank you for discovering this regression in Octave 4.2. I have gone
ahead and filed a report upstream [1] with your patch.

Your patch looks correct to me. This should be applied to the upstream
stable branch soon along with a test case.

[1]: https://savannah.gnu.org/bugs/?51384

-- 
mike



More information about the Pkg-octave-devel mailing list