8000 [3.13] gh-108765: fix comment about macro definitions in `_stat.c` po… · python/cpython@ad1b0c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit ad1b0c9

Browse files
[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 0141e7f) Co-authored-by: Lee Dogeon <dev.moreal@gmail.com>
1 parent e7a8f96 commit ad1b0c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_stat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ typedef unsigned short mode_t;
5757
* Only the names are defined by POSIX but not their value. All common file
5858
* types seems to have the same numeric value on all platforms, though.
5959
*
60-
* pyport.h guarantees S_IFMT, S_IFDIR, S_IFCHR, S_IFREG and S_IFLNK
60+
* fileutils.h guarantees S_IFMT, S_IFDIR, S_IFCHR, S_IFREG and S_IFLNK
6161
*/
6262

6363
#ifndef S_IFBLK
@@ -86,7 +86,7 @@ typedef unsigned short mode_t;
8686

8787

8888
/* S_ISXXX()
89-
* pyport.h defines S_ISDIR(), S_ISREG() and S_ISCHR()
89+
* fileutils.h defines S_ISDIR(), S_ISREG() and S_ISCHR()
9090
*/
9191

9292
#ifndef S_ISBLK

0 commit comments

Comments
 (0)
0