freebsd-nq/sbin/savecore
Robert Watson df0b82f150 Compare kernel dump header magic with textdump magic using strncmp()
rather than the memcmp() which is used for regular dumps: the
textdump string is one character shorter, so we need to stop
comparing at the end of the string.

Use independent version checking logic for architecture-specific
version number vs. textdump version number, as the version sequences
may (someday) differ.

Run into by:	rrs
2007-12-27 21:28:48 +00:00
..
Makefile
savecore.8 Teach savecore(8) how to extract textdump(4) dumps. 2007-12-26 11:42:10 +00:00
savecore.c Compare kernel dump header magic with textdump magic using strncmp() 2007-12-27 21:28:48 +00:00