From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 27 Jun 2025 15:39:18 +0000 (+0200) Subject: [3.13] gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854... X-Git-Tag: v3.13.6~161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad1b0c942d910aaa65952caabbab759b783183f6;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854 (GH-136027) (#136044) gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854 (GH-136027) (cherry picked from commit 0141e7f9e66e5e5ac3949fb018dd6811cd630dca) Co-authored-by: Lee Dogeon --- diff --git a/Modules/_stat.c b/Modules/_stat.c index a4f15e8e65e8..9e1a79ccfc1d 100644 --- a/Modules/_stat.c +++ b/Modules/_stat.c @@ -57,7 +57,7 @@ typedef unsigned short mode_t; * Only the names are defined by POSIX but not their value. All common file * types seems to have the same numeric value on all platforms, though. * - * pyport.h guarantees S_IFMT, S_IFDIR, S_IFCHR, S_IFREG and S_IFLNK + * fileutils.h guarantees S_IFMT, S_IFDIR, S_IFCHR, S_IFREG and S_IFLNK */ #ifndef S_IFBLK @@ -86,7 +86,7 @@ typedef unsigned short mode_t; /* S_ISXXX() - * pyport.h defines S_ISDIR(), S_ISREG() and S_ISCHR() + * fileutils.h defines S_ISDIR(), S_ISREG() and S_ISCHR() */ #ifndef S_ISBLK