mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00

- Unserializing files that were previously kicked out of the open-file cache would cause them to be fopen'd with the original access permissions which is usually 'w' and causes truncation. They are now opened in 'a' mode. (addresses #780) - Add 'max_files_in_cache' script option to manually set the maximum amount of opened files to keep cached. Mainly this just helped to create a simple test case for the above change. - Remove unused NO_HAVE_SETRLIMIT preprocessor switch. - On systems that don't enforce a limit on number of files opened for the process, raise default max size of open-file cache from 32 to 512.
4 lines
31 B
Text
4 lines
31 B
Text
opened
|
|
write 0
|
|
write 3
|
|
write 6
|