> Correct output: > $ uname -r > 2.6.28-8-generic > $ ./popen-test > popen returned 0x1ec6400 > ferror returned 0 > fread returned 19 > ferror returned 0 > pclose returned 0 > Incorrect output: > $ uname -r > 2.6.26-1-amd64 > $ ./popen-test > popen returned 0x935f688 > ferror returned 0 > SHOULD NOT DISPLAY
I am confused. Your own output above shows that this works fine on the Ubuntu Jaunty kernel. We don't need to patch Jaunty kernels to get the right result? -- Jaunty i386 popen() misbehaves on x86_64 kernel 2.6.26 https://bugs.launchpad.net/bugs/339743 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs