
This patch fixes a problem in which the binlog daemon can coredump if
it attempts to recover events from a panic dump file containing invalid
event data.

Fixes a time formatting problem when Compaq Analyze is used to 
display events in time zones with a positive offset from GMT.

The patch causes the binary error log daemon, binlogd, to sync its logfiles
before closing them on system shutdown.

This fix corrects a potential binlogd core dump problem when parsing
its remote host authorization file (/etc/binlog.auth) with greater 
than 513 characters.


