Changeset 1254 for python/trunk/Modules/posixmodule.c
- Timestamp:
- Nov 10, 2017, 12:00:15 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Modules/posixmodule.c
r1253 r1254 4821 4821 i = pipe_err = 0; 4822 4822 while ((pipe_err == 0) && (i < file_count)) 4823 #ifndef __KLIBC__4824 4823 pipe_err = pipe((int *)&p_fd[i++]); 4825 #else4826 pipe_err = socketpair(AF_UNIX, SOCK_STREAM,0,(int *)&p_fd[i++]);4827 #endif4828 4824 if (pipe_err < 0) 4829 4825 { … … 6962 6958 int res; 6963 6959 Py_BEGIN_ALLOW_THREADS 6964 #ifndef __KLIBC__6965 6960 res = pipe(fds); 6966 #else6967 res = socketpair(AF_UNIX, SOCK_STREAM,0, fds);6968 #endif6969 6961 Py_END_ALLOW_THREADS 6970 6962 if (res != 0)
Note:
See TracChangeset
for help on using the changeset viewer.