|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #52310] [octave-forge] io: read_namelist cannot read character sequences containing a / |
Date: | Mon, 30 Oct 2017 10:53:55 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL: <http://savannah.gnu.org/bugs/?52310> Summary: [octave-forge] io: read_namelist cannot read character sequences containing a / Project: GNU Octave Submitted by: None Submitted on: Mon 30 Oct 2017 02:53:53 PM UTC Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Brice DAVIER Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: other Operating System: Any _______________________________________________________ Details: A namelist can contain a / in a character sequence (inside quotes). read_namelist wrongly interprets it as the ending character of the namelist. The attached patch checks if any / character is quoted. I am not familiar with octave, so there may be simpler ways to do this. It also seems to work well when double quotes and apostrophes contain each other, but my tests were limited. I hope the changeset is done right ! _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 30 Oct 2017 02:53:53 PM UTC Name: patch.txt Size: 3KiB By: None <http://savannah.gnu.org/bugs/download.php?file_id=42301> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52310> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |