Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2010 14:28:48 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/csup rcsparse.c
Message-ID:  <201009301429.o8UETCvB059908@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2010-09-30 14:28:48 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/csup         rcsparse.c 
  Log:
  SVN rev 213300 on 2010-09-30 14:28:48Z by jhb
  
  If an RCS file is truncated, rcsfile_getdelta() will return NULL.  Instead
  of faulting, check for NULL.  However, returning an error would cause csup
  to just abort the entire update.  Instead, break out of the loop and
  return ok.  The attempts to update the file will trigger a MD5 failure which
  will cause csup to download the entire file as a fixup.
  
  Reviewed by:    lulf
  MFC after:      1 week
  
  Revision  Changes    Path
  1.2       +8 -0      src/usr.bin/csup/rcsparse.c



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