Re: Updated: mintty 3.7.5

2024-09-22 Thread Takashi Yano via Cygwin
Hi Thomas, On Tue, 17 Sep 2024 10:06:36 +0200 Thomas Wolff wrote: > I have uploaded mintty 3.7.5 with the following changes: > > Highlights >   * Box Drawing characters (U+2500..U+257F) are self-drawn (#935, #1119). >   * Tabs can be reordered via user-definable functions (#1283). >   * Emoji

Re: pread()/pwrite() fail with EBADF in child process if already used before fork()

2024-09-22 Thread Jim McNamara via Cygwin
Hi Christian, I worked with AI to try something like this does it help at all? It is not exactly your code but got rid of file descriptor error. These things were outlined on chatgpt... thanks, jim A "bad file descriptor" error in your code can occur for several reasons. Here are the most com

pread()/pwrite() fail with EBADF in child process if already used before fork()

2024-09-22 Thread Christian Franke via Cygwin
Found during test of 'stress-ng --pseek ...' from current upstream stress-ng git HEAD: Testcase: $ uname -r 3.5.4-1.x86_64 $ cat pfail.c #include #include #include #include int main() {   int fd = open("pwrite.tmp", O_RDWR|O_CREAT|O_BINARY, 0666);   if (fd < 0) {     perror("open"); retur