Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2006 06:32:40 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/df df.c
Message-ID:  <200608200632.k7K6WeFw072937@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2006-08-20 06:32:40 UTC

  FreeBSD src repository

  Modified files:
    bin/df               df.c 
  Log:
  Prefer strlcpy to strncpy.  In one case, this saves us from re-zeroing
  data that's alreday 0.  In another, it saves us from zeroing data that
  will be overwritten again.
  
  Revision  Changes    Path
  1.65      +2 -2      src/bin/df/df.c



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