Mercurial > octave-nkf
changeset 7769:247828ad21e2
Replace deprecated isstr() call
author | Thomas Weber <thomas.weber.mail@gmail.com> |
---|---|
date | Sat, 03 May 2008 09:10:56 +0200 |
parents | a2d9f325b65a |
children | c6a1a217ac3c |
files | scripts/ChangeLog scripts/miscellaneous/news.m test/ChangeLog |
diffstat | 3 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog Sat May 03 11:47:54 2008 +0200 +++ b/scripts/ChangeLog Sat May 03 09:10:56 2008 +0200 @@ -1,3 +1,7 @@ +2008-05-09 Thomas Weber <thomas.weber.mail@gmail.com> + + * miscellaneous/news.m: Replace deprecated isstr call. + 2008-05-06 David Bateman <dbateman@free.fr> * miscellaneous/symvar.m: New function.
--- a/scripts/miscellaneous/news.m Sat May 03 11:47:54 2008 +0200 +++ b/scripts/miscellaneous/news.m Sat May 03 09:10:56 2008 +0200 @@ -28,7 +28,7 @@ if (exist (newsfile, "file")) f = fopen (newsfile, "r"); - while (isstr (line = fgets (f))) + while (ischar (line = fgets (f))) printf (line); endwhile else
--- a/test/ChangeLog Sat May 03 11:47:54 2008 +0200 +++ b/test/ChangeLog Sat May 03 09:10:56 2008 +0200 @@ -1,12 +1,12 @@ +2008-05-09 Rafael Laboissiere <rafael@debian.org> + + * test_io.m, test_system.m: Use ischar instead of deprecated isstr. + 2008-05-06 John W. Eaton <jwe@octave.org> * fntests.m: Use puts instead of printf where appropriate. Fix missing newline in message. -2008-05-03 Rafael Laboissiere <rafael@debian.org> - - * test_io.m, test_system.m: Use ischar instead of deprecated isstr. - 2008-03-26 David Bateman <dbateman@free.fr> * test_index-wfi-f.m: Split large block of tests. New tests.