Previously only $INCLUDE files that could not be opened resulted in an error message. Now an error is logged if the initial file passed to zone_parse cannot be opened as well. Consequently, the current filename may be NULL in the log handler. To avoid confusion and to emphasize the current filename is only correct during execution of the log handler, I've added both the filename and line number to the zone_log_ttypedef.
Previously only
$INCLUDE
files that could not be opened resulted in an error message. Now an error is logged if the initial file passed tozone_parse
cannot be opened as well. Consequently, the current filename may beNULL
in the log handler. To avoid confusion and to emphasize the current filename is only correct during execution of the log handler, I've added both the filename and line number to thezone_log_t
typedef
.