Module Name: src Committed By: njoly Date: Sat Jun 14 11:37:35 UTC 2014
Modified Files: src/lib/libc/sys: truncate.2 src/sys/kern: vfs_syscalls.c Log Message: Follow OpenGroup online documents for truncate[1] and ftruncate[2]. Fail with EINVAL for length argument negative values. [1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/truncate.html [2] http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libc/sys/truncate.2 cvs rdiff -u -r1.483 -r1.484 src/sys/kern/vfs_syscalls.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.