Creideiki <creideiki+pythonb...@ferretporn.se> added the comment:
I ran this program:
#include
#include
#include
#include
void print(const char *s, size_t l)
{
errno = 0;
fwrite(s, l, 1, stdout);
int saved_errno = errno;
fprintf(stderr,
"After \"%s
Creideiki <creideiki+pythonb...@ferretporn.se> added the comment:
Hmm. Yes and no; you seem to be correct in that the problem is on the libc
level, but Python definitely does something special.
By the way, this is glibc 2.26.
I tried this C program:
#include
#include
in
New submission from Creideiki <creideiki+pythonb...@ferretporn.se>:
This is Python 2.7.14 on Gentoo Linux.
I ran into an issue where a program crashes if I run it from a terminal, put it
in the background, and then close the terminal too soon. Upstream bug report:
https://github.com/mic