]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-67341: fix a typo in `Include/fileutils.h` (#136049)
authorLee Dogeon <dev.moreal@gmail.com>
Mon, 14 Jul 2025 08:02:05 +0000 (17:02 +0900)
committerGitHub <noreply@github.com>
Mon, 14 Jul 2025 08:02:05 +0000 (08:02 +0000)
`IO_REPARSE_TAG_SYMLINK` is mapped to `S_IFLNK` in `fileutils.c`, not in `posixmodule.c`

Include/fileutils.h

index 1509198e45f0cae4ae81a883890ea542c275cf81..00c37fa460242871bd27e07cc54bbe55b08a648a 100644 (file)
@@ -16,7 +16,7 @@
 #  define S_IFMT 0170000
 #endif
 #ifndef S_IFLNK
-   // Windows doesn't define S_IFLNK, but posixmodule.c maps
+   // Windows doesn't define S_IFLNK, but fileutils.c maps
    // IO_REPARSE_TAG_SYMLINK to S_IFLNK.
 #  define S_IFLNK 0120000
 #endif