From: rmingming (0110018_at_mail.nankai.edu.cn)
Date: Wed Mar 23 2005 - 19:07:07 PST
Hi, I open a file with "append" mode, when i cr_checkpoint and cr_restart the process, the output of the program really appends to the output file. but i think it should write to the position which it was checkpointed. my test program is the file_counting.c with modifying: fp = fopen(filename, "w"); to: fp = fopen(filename, "a"); when i cr_restart the context file, output file looks like: *************************** ... Count = 15 Count = 16 Count = 17---------cr_checkpoint Count = 18 Count = 19 Count = 17 --------cr_restart Count = 18 Count = 19 .... **************************** but i think the right way is not like this.