Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 1995 08:04:31 -0700
From:      Nate Williams <nate>
To:        CVS-commiters, cvs-gnu
Subject:   cvs commit: src/gnu/usr.bin/cvs/cvs lock.c
Message-ID:  <199504031504.IAA10639@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
nate        95/04/03 08:04:30

  Modified:    gnu/usr.bin/cvs/cvs lock.c
  Log:
  The conditional in unlock() stats the master lock file (expensive) before
  it has determined whether or not removing it is even appropriate.  i.e.
  if cleanup_lckdir is set.
  
  The enclosed patch shuffles around the conditional, and it clears
  cleanup_lckdir in clear_lock(), so the sprintf()/stat() is only
  performed when it is really needed.
  
  This patch is relative to my last one that introduced clear_lock().
  
  Submitted by:	"J.T. Conklin" <jtc@cygnus.com>



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