cvs commit: src/tools/regression/file/ftruncate ftruncate.c

Robert Watson rwatson at FreeBSD.org
Sun Jul 9 10:56:37 UTC 2006


rwatson     2006-07-09 10:56:36 UTC

  FreeBSD src repository

  Modified files:
    tools/regression/file/ftruncate ftruncate.c 
  Log:
  When extending a file with truncate, check that newly added bytes have
  a value of 0 in the extended region.
  
  Make sure that we get EINVAL back if we try to truncate a read-only
  file descriptor.
  
  Revision  Changes    Path
  1.3       +55 -21    src/tools/regression/file/ftruncate/ftruncate.c


More information about the cvs-src mailing list