From e93e1c5473df76e1377e26b0cda9c20a516e44c0 Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Fri, 6 Dec 2013 11:55:58 +0100 Subject: Just added a TODO and updated a comment. diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 33d58ba..723523f 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -6598,7 +6598,8 @@ static tng_function_status tng_header_pointers_update } /** Update the frame set pointers in the current frame set block, already - * written to disk + * written to disk. It also updates the pointers of the blocks pointing to + * the current frame set block. * @param tng_data is a trajectory data container. * @param hash_mode specifies whether to update the block md5 hash when * updating the pointers. @@ -11742,6 +11743,10 @@ tng_function_status DECLSPECDLLEXPORT tng_file_headers_write return(TNG_CRITICAL); } + /* TODO: If there is already frame set data written to this file (e.g. when + * appending to an already existing file we might need to move frame sets to + * the end of the file. */ + if(tng_general_info_block_write(tng_data, hash_mode) != TNG_SUCCESS) { -- cgit v0.10.1