|
From: | Philip Nienhuis |
Subject: | [Octave-bug-tracker] [bug #54373] strncmp does not compute result accurately when N exceeds string length |
Date: | Fri, 27 Jul 2018 17:04:41 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 |
Follow-up Comment #8, bug #54373 (project octave): Rik, in comment #4 you typed double quotes and I copied the line verbatim into Matlab. Using single quotes I do get [0 0 1] So matlab's new string class clobbers up a few things I guess. Your example in comment #6 returns 1. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54373> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |