File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/core/IronPython.Modules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ public static object tcgetwinsize(CodeContext context, int fd) {
403403 var ws = new ushort [ 4 ] ;
404404 var buf = new MemoryBufferProtocolWrapper < ushort > ( ws . AsMemory ( ) ) ;
405405
406- object result = PythonFcntl . ioctl ( fd , TIOCGWINSZ , buf ) ;
406+ object result = PythonFcntl . ioctl ( fd , TIOCGWINSZ , buf , mutate_flag : true ) ;
407407
408408 if ( ToTermiosError ( context , result ) is not null and var ex ) {
409409 return ex ;
@@ -430,7 +430,7 @@ public static object tcgetwinsize(CodeContext context, int fd) {
430430 var ws = new ushort [ 4 ] ;
431431 var buf = new MemoryBufferProtocolWrapper < ushort > ( ws . AsMemory ( ) ) ;
432432
433- object result = PythonFcntl . ioctl ( fd , TIOCGWINSZ , buf ) ;
433+ object result = PythonFcntl . ioctl ( fd , TIOCGWINSZ , buf , mutate_flag : true ) ;
434434 if ( ToTermiosError ( context , result ) is not null and var ex ) {
435435 return ex ;
436436 }
You can’t perform that action at this time.
0 commit comments