Date: Thu, 16 May 2013 20:34:21 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r250715 - stable/9/lib/libc/gen Message-ID: <201305162034.r4GKYLXC003073@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Thu May 16 20:34:21 2013 New Revision: 250715 URL: http://svnweb.freebsd.org/changeset/base/250715 Log: MFC r250412: posix_spawn_file_actions_addopen(3): Correct error for bad file descriptor. As per POSIX.1-2008, posix_spawn_file_actions_add* return [EBADF] if a file descriptor is negative, not [EINVAL]. The bug was only in the manual page; the code is correct. Modified: stable/9/lib/libc/gen/posix_spawn_file_actions_addopen.3 Directory Properties: stable/9/lib/libc/ (props changed) Modified: stable/9/lib/libc/gen/posix_spawn_file_actions_addopen.3 ============================================================================== --- stable/9/lib/libc/gen/posix_spawn_file_actions_addopen.3 Thu May 16 20:32:28 2013 (r250714) +++ stable/9/lib/libc/gen/posix_spawn_file_actions_addopen.3 Thu May 16 20:34:21 2013 (r250715) @@ -34,7 +34,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 24, 2008 +.Dd May 9, 2013 .Dt POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 3 .Os .Sh NAME @@ -145,7 +145,7 @@ otherwise, an error number is returned t These functions fail if: .Bl -tag -width Er -.It Bq Er EINVAL +.It Bq Er EBADF The value specified by .Fa fildes or
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305162034.r4GKYLXC003073>