03.05.2005 - fixing __FUNCTION__ usage in debug functions - newer gcc throws an error. 02.12.2002 - Markus Fischer's patch - mgstat now can read from stdin 19.09.2001 - fixed entry processing bug if log entries had same day and month number but different years (setting cur_day in find_entry()). Removing few #ifdef DEBUG, added debug() function. 27.08.2001 - small chagnes to parsing routine 22.08.2001 - better handling of command line arguments 19.08.2001 - fixed errx issues under Solaris 28.07.2001 - added 'g' (gigabytes) to -f command line options. Added -q (quiet). Few changes to parsing routine. 17.07.2001 - new command line option: -f [b|k|m] Specify data count (bytes, kilobytes, megabytes) 17.07.2001 - checking if output dir exists (and is directory) before analyzing log file. 16.07.2001 - Makefile.in and READE fix, added -s command line options for server name - thanks to Jonathan Roy 04.07.2001 - mgstat ver. 0.5 displays statistics about all bytes sent and actual size of all objects, not just only compressable objects. Please note that if you use mgstat 0.5 with history file produced by earlier version then generated statistics could be incomplete. Thanks Rob for your suggestions and help! 22.04.2001 - in some cases line buffer in check_pos() was too small. In effect log file was analyzed from the begining.