cvs commit: src/usr.bin/truncate truncate.c

Maxim Konovalov maxim at FreeBSD.org
Mon Sep 18 09:39:31 PDT 2006


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


More information about the cvs-src mailing list