Skip to content

Commit 666b69d

Browse files
committed
bpo-24658: Improve the comment about macOS
1 parent 75c72b5 commit 666b69d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/fileutils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ PyAPI_FUNC(char*) Py_EncodeLocale(
2020
PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
2121

2222
#if defined(MS_WINDOWS) || defined(__APPLE__)
23-
/* On Windows, the count parameter of read() is an int
24-
Add the support of MacOS with the issue #24658
23+
/* On Windows, the count parameter of read() is an int.
24+
macOS fails when reading or writing more than 2GB, see #24658
2525
*/
2626
#define _PY_READ_MAX INT_MAX
2727
#define _PY_WRITE_MAX INT_MAX

0 commit comments

Comments
 (0)