[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58477] Empty argument to print throws error
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58477] Empty argument to print throws error |
Date: |
Mon, 1 Jun 2020 09:37:22 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
URL:
<https://savannah.gnu.org/bugs/?58477>
Summary: Empty argument to print throws error
Project: GNU Octave
Submitted by: rik5
Submitted on: Mon 01 Jun 2020 06:37:21 AM PDT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.0.90
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Example code:
octave:1> sombrero
octave:2> print ("", 'blah.jpg')
error: strncmp: N must be greater than 0
error: called from
__print_parse_opts__ at line 109 column 13
print at line 417 column 8
It's not a big deal, but this seems like something that should work.
In my case, I discovered it because I had code that added extra options when
the filetype was a specific format, but added nothing when it was not.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58477>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58477] Empty argument to print throws error,
Rik <=