# HG changeset patch # User Alexander Graf # Date 1335540127 -7200 # Node ID e97ec01d4157760053ca41a701d90fe42cbf0dbb # Parent 7d11812c52aa0d5bfa67c68dd98f218d25eb2648 Correct assignment to wrong variable f headerlines processing * textscan.m: change varargin into args in L.166 * strread.m: correct copyright message diff -r 7d11812c52aa -r e97ec01d4157 scripts/io/strread.m --- a/scripts/io/strread.m Fri Apr 27 22:22:31 2012 -0400 +++ b/scripts/io/strread.m Fri Apr 27 17:22:07 2012 +0200 @@ -1,5 +1,5 @@ ## Copyright (C) 2009-2012 Eric Chassande-Mottin, CNRS (France) -## Copyright (C) 2012 Philip Nienhuis +## Parts Copyright (C) 2012 Philip Nienhuis ## ## This file is part of Octave. ## diff -r 7d11812c52aa -r e97ec01d4157 scripts/io/textscan.m --- a/scripts/io/textscan.m Fri Apr 27 22:22:31 2012 -0400 +++ b/scripts/io/textscan.m Fri Apr 27 17:22:07 2012 +0200 @@ -163,7 +163,7 @@ headerlines = find (strcmpi (args, "headerlines"), 1); ## Beware of zero valued headerline, fskipl would skip to EOF if (! isempty (headerlines) && (args{headerlines + 1} > 0)) - fskipl (fid, varargin{headerlines + 1}); + fskipl (fid, args{headerlines + 1}); args(headerlines:headerlines+1) = []; st_pos = ftell (fid); endif