]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41056: Use the fildes converter for fd to please Coverity. (GH-21011)
authorGregory P. Smith <greg@krypto.org>
Sat, 20 Jun 2020 22:06:48 +0000 (15:06 -0700)
committerGitHub <noreply@github.com>
Sat, 20 Jun 2020 22:06:48 +0000 (15:06 -0700)
commit3ccb96c9782480e5ce646a4a130569fb92f2965d
treeedc57d4253707950df64855fb1809da2817eb42b
parenteb0d5c38de7f970d8cd8524f4163d831c7720f51
bpo-41056: Use the fildes converter for fd to please Coverity. (GH-21011)

There are a bunch of other fd: int uses in this file, I expect many if not
all of them would be better off using the fildes converter.  This particular
one was flagged by Coverity as it presumably flags fpathconf as not accepting
negative fds.  I'd expect the other fd's to have been flagged as well
otherwise.

I'm marking this one as skip news as it really is a no-op.
Misc/NEWS.d/next/Library/2020-06-20-18-37-29.bpo-41056.d9v_uL.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c