chiark / gitweb /
assigning stdout and stderr is not allowed
authorMatija Skala <mskala@gmx.com>
Wed, 15 Mar 2017 12:49:05 +0000 (13:49 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:44:35 +0000 (09:44 +0200)
src/shared/pager.c

index a085a57..9a097a1 100644 (file)
@@ -161,13 +161,6 @@ void pager_close(void) {
                 return;
 
         /* Inform pager that we are done */
-#ifdef __GLIBC__
-        stdout = safe_fclose(stdout);
-        stderr = safe_fclose(stderr);
-#else
-        safe_fclose(stdout);
-        safe_fclose(stderr);
-#endif // __GLIBC__
 
         (void) kill(pager_pid, SIGCONT);
         (void) wait_for_terminate(pager_pid, NULL);