Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2006 16:39:23 +0000 (UTC)
From:      Maxim Konovalov <maxim@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/truncate truncate.c
Message-ID:  <200609181639.k8IGdNBD015541@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
maxim       2006-09-18 16:39:23 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/truncate     truncate.c 
  Log:
  o Don't leak fd on error.
  o parselength() returns 0 or -1 so int is enough for its return type.
  
  Submitted by:   Ighighi Ighighi, sheldonh
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.12      +6 -4      src/usr.bin/truncate/truncate.c



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