]> git.pld-linux.org Git - packages/bglibs.git/blob - bglibs-pipe.patch
- updated to 1.010, removed obsolete gcc-nodoubleo patch
[packages/bglibs.git] / bglibs-pipe.patch
1 --- bglibs-1.010/unix/selfpipe.c.orig   2003-11-17 21:16:37.000000000 +0100
2 +++ bglibs-1.010/unix/selfpipe.c        2003-11-18 19:55:42.436533008 +0100
3 @@ -69,9 +69,10 @@
4  {
5    int buf;
6    int fd = selfpipe_init();
7 +/* let it be kernel business which descriptors pipe returns (it failed on 2.6)
8    puti("FD[0]", fds[0]);
9    puti("FD[1]", fds[1]);
10 -  puti("Returned FD", fd);
11 +  puti("Returned FD", fd); */
12    puti("read before SIGCHLD", read(fd, &buf, sizeof buf));
13    puti("errno is EAGAIN", errno == EAGAIN);
14    kill(0, SIGCHLD);
15 @@ -87,9 +88,6 @@
16  }
17  #endif
18  #ifdef SELFTEST_EXP
19 -FD[0]: 3
20 -FD[1]: 4
21 -Returned FD: 3
22  read before SIGCHLD: -1
23  errno is EAGAIN: 1
24  read after SIGCHLD: 1
This page took 0.08231 seconds and 3 git commands to generate.