Index: libcfa/src/iostream.cfa
===================================================================
--- libcfa/src/iostream.cfa	(revision 8a33777063862817f6f9b06eedc39d326a95ca25)
+++ libcfa/src/iostream.cfa	(revision 3db78b894ae3be5dacb95d3d43fd6c10d981cd5e)
@@ -1076,5 +1076,5 @@
 			} // if
 			// FIX ME: CFA strings need to be modified to NOT change the argument for this case, then this can be removed.
-			if ( rwd > 0 && args == 0 ) f.s[0]= '\0';	// read failed => no pattern match => set string to null
+			if ( ! f.flags.ignore && rwd > 0 && args == 0 ) f.s[0]= '\0';	// read failed => no pattern match => set string to null
 		} else {
 			if ( f.flags.delimiter ) {					// getline
@@ -1114,5 +1114,5 @@
 				} // if
 			} // if
-			if ( rwd > 0 && args == 0 ) f.s[0]= '\0';	// read failed => no pattern match => set string to null
+			if ( ! f.flags.ignore && rwd > 0 && args == 0 ) f.s[0]= '\0';	// read failed => no pattern match => set string to null
 		} // if
 		if ( args == 1 && eof( is ) ) {					// data but scan ended at EOF
Index: tests/io/.expect/manipulatorsInput.arm64.txt
===================================================================
--- tests/io/.expect/manipulatorsInput.arm64.txt	(revision 8a33777063862817f6f9b06eedc39d326a95ca25)
+++ tests/io/.expect/manipulatorsInput.arm64.txt	(revision 3db78b894ae3be5dacb95d3d43fd6c10d981cd5e)
@@ -32,13 +32,13 @@
 3 abcxxx
 4 aaaaaaaa
-5
+5 aaaaaaaa
 6 aabbccbb
 7 dddwww
-8
-9
+8 dddwww
+9 dddwww
 10 aaaaaaaa
 11 wwwwwwww
-12
-13
+12 wwwwwwww
+13 wwwwwwww
 14
 15
Index: tests/io/.expect/manipulatorsInput.x64.txt
===================================================================
--- tests/io/.expect/manipulatorsInput.x64.txt	(revision 8a33777063862817f6f9b06eedc39d326a95ca25)
+++ tests/io/.expect/manipulatorsInput.x64.txt	(revision 3db78b894ae3be5dacb95d3d43fd6c10d981cd5e)
@@ -32,13 +32,13 @@
 3 abcxxx
 4 aaaaaaaa
-5
+5 aaaaaaaa
 6 aabbccbb
 7 dddwww
-8
-9
+8 dddwww
+9 dddwww
 10 aaaaaaaa
 11 wwwwwwww
-12
-13
+12 wwwwwwww
+13 wwwwwwww
 14
 15
Index: tests/io/.expect/manipulatorsInput.x86.txt
===================================================================
--- tests/io/.expect/manipulatorsInput.x86.txt	(revision 8a33777063862817f6f9b06eedc39d326a95ca25)
+++ tests/io/.expect/manipulatorsInput.x86.txt	(revision 3db78b894ae3be5dacb95d3d43fd6c10d981cd5e)
@@ -32,13 +32,13 @@
 3 abcxxx
 4 aaaaaaaa
-5
+5 aaaaaaaa
 6 aabbccbb
 7 dddwww
-8
-9
+8 dddwww
+9 dddwww
 10 aaaaaaaa
 11 wwwwwwww
-12
-13
+12 wwwwwwww
+13 wwwwwwww
 14
 15
