mirror of
https://github.com/python/cpython.git
synced 2025-10-28 04:04:44 +00:00
[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 0141e7f9e6)
Co-authored-by: Lee Dogeon <dev.moreal@gmail.com>
This commit is contained in:
parent
e7a8f9664a
commit
ad1b0c942d
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ typedef unsigned short mode_t;
|
||||||
* Only the names are defined by POSIX but not their value. All common file
|
* 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.
|
* 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
|
#ifndef S_IFBLK
|
||||||
|
|
@ -86,7 +86,7 @@ typedef unsigned short mode_t;
|
||||||
|
|
||||||
|
|
||||||
/* S_ISXXX()
|
/* 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
|
#ifndef S_ISBLK
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue