rwatson     2007-12-27 21:28:48 UTC

  FreeBSD src repository

  Modified files:
    sbin/savecore        savecore.c 
  Log:
  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
  
  Revision  Changes    Path
  1.80      +31 -11    src/sbin/savecore/savecore.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to