Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 21:28:48 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/savecore savecore.c
Message-ID:  <200712272128.lBRLSmvd004252@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712272128.lBRLSmvd004252>