octave-maintainers
[Top][All Lists]
Advanced

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

PATCH: build error from change 3f0ed69d21c6 (strncmp<>strcmp cleanup)


From: Andreas Weber
Subject: PATCH: build error from change 3f0ed69d21c6 (strncmp<>strcmp cleanup)
Date: Wed, 11 Sep 2013 13:35:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130827 Icedove/17.0.8

Dear maintainers,

change 3f0ed69d21c6 "Replace unnecessary instances of strncmp with
strcmp" introduced 2 little bugs:

__go_draw_axes__.m: 646 if (strncmp (obj.facecolor, "none"))
uigetfile.m: 177: elseif (strcmpi (prop, "multiselect", 11))

This leads to "error: Invalid call to strncmp." when building
current default 3611ebb0ad88 and also breaks "hist".

fix 2 strcmp<->strncmp issues from 3f0ed69d21c6
* __go_draw_axes__.m: replaced strncmp with strcmp
* scripts/plot/uigetfile.m: removed length specifier from strcmpi

-- 
Mit freundlichen Grüßen

Dipl.-Ing.(FH) Andreas Weber
Fakultät Elektrotechnik und Informationstechnik

Hochschule Offenburg - University of Applied Sciences Offenburg
Badstraße 24
77652 Offenburg
Telefon +49 781 205-386

Attachment: strncmp_strcmp.patch
Description: Text Data


reply via email to

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