1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 17:55:15 +03:00
aports/testing/picat/fix-fileno-usage.patch
2022-05-08 03:29:11 +00:00

11 lines
230 B
Diff

--- a/file.c
+++ b/file.c
@@ -1900,7 +1900,7 @@
#ifdef ANDROID
return(file_table[index].fdes->_file);
#else
- return(file_table[index].fdes->_fileno);
+ return(fileno(file_table[index].fdes));
#endif
#endif
#endif