|
From: | Arnaud Delorme |
Subject: | [Octave-bug-tracker] [bug #54373] Different behavior of strncmp compared to Matlab |
Date: | Wed, 25 Jul 2018 10:04:13 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?54373> Summary: Different behavior of strncmp compared to Matlab Project: GNU Octave Submitted by: arnodelorme Submitted on: Wed 25 Jul 2018 02:04:12 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Arno Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.4.0 Operating System: Mac OS _______________________________________________________ Details: Try strncmp('parameters', { 'parameters' }, 100) This returns 1 under Matlab and 0 under Octave _______________________________________________________ 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] |