|
How to prevent an application from closing a file
I'm writing some software tests, & one of my test cases is to prevent an address space from closing a data file (file is closed & a new one opened every 15 minutes).
I can't remove or rename the file while it's being written to, any other ideas to prevent a file from being closed - or at least fake a return code from the system call so that the application thinks the close failed?
|