Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2004 22:23:38 -0800 (PST)
From:      Kris Kennaway <kris@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/cp utils.c
Message-ID:  <200401220623.i0M6NcxK003112@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kris        2004/01/21 22:23:38 PST

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    bin/cp               utils.c 
  Log:
  MFC: Do not try to mmap()/munmap() 0-length files.
  
  This allows a 4.x cp binary to work correctly on 5.x kernels (for which
  munmap() of a 0-length mapping returns an error).
  
  Noticed by:     bento's 4.x package build
  
  Revision  Changes    Path
  1.27.2.7  +2 -1      src/bin/cp/utils.c



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