[INN-COMMITTERS] inn/storage/tradindexed (tdx-data.c)

Russ Allbery Russ_Allbery at isc.org
Tue Apr 23 06:19:03 UTC 2002

    Date: Monday, April 22, 2002 @ 23:19:03
  Author: rra
    Path: /dist1/cvs/isc/inn/inn/storage/tradindexed

Modified: tdx-data.c

Don't attempt to mmap empty files; just leave the pointers as NULL in that
case.  This is slightly ugly, but it also seems to work everywhere.  (mmap
at least on Solaris returns errors on empty files.)  Remove the stub
overview_check implementation.  Be sure to close the data files if anything
fails during an audit so that we don't leak file descriptors.  Skip
empty entries when auditing overview information.  Don't report incorrect
low water marks if the group is empty.

 tdx-data.c |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

More information about the inn-committers mailing list