Bug#897373: libc6: feof(file) always false when forking after read

2018-05-10 Thread Florian Weimer
* David Beniamine: > On Thu, May 10, 2018 at 07:06:03PM +0200, Florian Weimer wrote: >> * David Beniamine: >> >> > int do_fork() { >> > pid_t pid; >> > >> > switch (pid = fork()) { >> > case -1: >> > fprintf(stderr, "Fork failed\n"); >> > return -1; >> >

Bug#826256: marked as done (locales: wrong width for hexagrams (and possibly others) in 2.22)

2018-05-10 Thread Debian Bug Tracking System
Your message dated Thu, 10 May 2018 21:43:41 +0200 (CEST) with message-id and subject line Re: Bug#826256: locales: wrong width for hexagrams (and possibly others) in 2.22 has caused the Debian Bug report #826256, regarding locales: wrong

Bug#897373: libc6: feof(file) always false when forking after read

2018-05-10 Thread David Beniamine
On Thu, May 10, 2018 at 07:06:03PM +0200, Florian Weimer wrote: > * David Beniamine: > > > int do_fork() { > > pid_t pid; > > > > switch (pid = fork()) { > > case -1: > > fprintf(stderr, "Fork failed\n"); > > return -1; > > case 0: > >

Bug#897373: libc6: feof(file) always false when forking after read

2018-05-10 Thread Florian Weimer
* David Beniamine: > int do_fork() { > pid_t pid; > > switch (pid = fork()) { > case -1: > fprintf(stderr, "Fork failed\n"); > return -1; > case 0: > exit(-1); Does the issue go away when you call _exit instead of exit?