diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-09-23 05:55:56 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-09-23 05:55:56 +0000 |
commit | 560e64cb7308d8a509bbfa05140e8213cdce9fb5 (patch) | |
tree | 537cd64c207f229bb1b81aad7477afb9109868a4 /globals.h | |
parent | 522b27e2909868a9433f590ae64a2b2fed223f42 (diff) |
Make the buffer into which we read from the sync pipe one byte bigger
than the size of the reads we do, so that we have an extra byte at the
end into which we can stick a '\0' to guarantee null-termination of the
buffer.
When reading the capture file in "tail_cap_file()", use "file_open()"
rather than "fopen()", so that we work correctly if we're using "zlib"
to read capture files.
svn path=/trunk/; revision=707
Diffstat (limited to 'globals.h')
0 files changed, 0 insertions, 0 deletions