Explorar el Código

forget to change size

Corentin Salingue hace 12 años
padre
commit
35b65e76a8

+ 1 - 0
src/core/disk_ops/disk_stdio.c

@@ -300,6 +300,7 @@ starpu_stdio_full_write (unsigned node, void * base STARPU_ATTRIBUTE_UNUSED, voi
 #endif
 
 			STARPU_ASSERT_MSG(val >= 0,"StarPU Error to truncate file in STDIO full_write function");
+			tmp->size = size;
 		}
 		else
 		{

+ 1 - 0
src/core/disk_ops/unistd/disk_unistd_global.c

@@ -268,6 +268,7 @@ starpu_unistd_global_full_write (unsigned node, void * base STARPU_ATTRIBUTE_UNU
 #endif
 
                         STARPU_ASSERT_MSG(val >= 0,"StarPU Error to truncate file in UNISTD full_write function");
+			tmp->size = size;
                 }
                 else
                 {