To test: test_run("fileio", "bug_7959")
Change-Id: I486ffcf82c06f23d100eb93365f3d2e621aed8ab
// <-- Short Description -->
// fscanf did not manage file descriptor as input argument
//
+wMode = warning("query");
+warning("off");
text =["blablabla"];
mputl(text, TMPDIR + "/test1.txt");
s1 = fscanf(TMPDIR + "/test1.txt", "%s");
mclose(fd);
if text <> s2 then bugmes();quit;end
if s1 <> s2 then bugmes();quit;end
+warning(wMode);
// fscanf did not manage file descriptor as input argument
//
+wMode = warning("query");
+warning("off");
+
text =["blablabla"];
mputl(text, TMPDIR + "/test1.txt");
s1 = fscanf(TMPDIR + "/test1.txt", "%s");
if text <> s2 then pause, end
if s1 <> s2 then pause, end
+
+warning(wMode);
\ No newline at end of file