Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2008 02:19:17 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libarchive archive_read_data_into_fd.c
Message-ID:  <200808100219.m7A2JJBK003207@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kientzle    2008-08-10 02:19:17 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    lib/libarchive       archive_read_data_into_fd.c 
  Log:
  SVN rev 181488 on 2008-08-10 02:19:17Z by kientzle
  
  MFC r179235 | cperciva | 2008-05-22 22:01:29 -0700 (Thu, 22 May 2008)
  
  > Check that lseek(2) succeeds and puts us where we expect. [1]
  >
  > While we're here, fix a long-standing bug in the handling of write(2)
  > errors: The API changed from "return # of bytes written" to "return
  > status code" almost 4 years ago, so instead of returning (-1) we need
  > to return ARCHIVE_FATAL.
  >
  > Found by:       Coverity Prevent [1]
  
  Revision  Changes    Path
  1.15.2.1  +7 -3      src/lib/libarchive/archive_read_data_into_fd.c



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