Hi, I need to implement (or use ;) some form of crash safe logging. This means each "writeln" to the logger should update the directory entry for the log file. How does fpc do this? Is it enough to flush the fd to achieve this? Any explanation or pointer to source or docs is welcome. TIA, Marc