octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54373] strncmp does not compute result accura


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #54373] strncmp does not compute result accurately when N exceeds string length
Date: Wed, 25 Jul 2018 15:23:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #5, bug #54373 (project octave):


>> strncmp ("abc",  {"abcd", "bca", "abc"}, 4)
ans =
  1×3 logical array
   0   0   0


r2018b prerelease

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54373>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]