]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-108765: fix comment about macro definitions in `_stat.c` post GH-108854 (#136027)
authorLee Dogeon <dev.moreal@gmail.com>
Fri, 27 Jun 2025 15:15:11 +0000 (00:15 +0900)
committerGitHub <noreply@github.com>
Fri, 27 Jun 2025 15:15:11 +0000 (15:15 +0000)
Modules/_stat.c

index f11ca7d23b440d10b6499e9a4c36c8b5fa055e9f..1dabf2f6d5b07fa584bedc00e57f5b2462e1ada3 100644 (file)
@@ -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