freebsd-skq/sbin/savecore
rwatson 60c8c67e86 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 Initialize "he" in DoFile, so savecore(8) is WARNS=6 clean. 2005-01-10 10:44:56 +00:00
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