diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-06 10:55:58 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-12-06 10:55:58 (GMT) |
commit | e93e1c5473df76e1377e26b0cda9c20a516e44c0 (patch) | |
tree | 1cff02de86f5e4f7903cf685ae07eaaae3a2f150 | |
parent | 4c75bb0f7f7bc465fe8fc01113a44fea3fe92a0a (diff) |
Just added a TODO and updated a comment.
-rw-r--r-- | src/lib/tng_io.c | 7 |
1 files changed, 6 insertions, 1 deletions
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) { |