* cons.handler.c (handle_console_linux): Remove redundant close() calls

before _exit().
This commit is contained in:
Leonard den Ottolander 2006-04-13 16:00:23 +00:00
parent 44becc0a7d
commit 85e87b2cdf
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-04-13 Leonard den Ottolander <leonard den ottolander nl>
* cons.handler.c (handle_console_linux): Remove redundant close() calls
before _exit().
2006-03-29 Pavel Tsekov <ptsekov@gmx.net>
* file.c (copy_file_file): When a hardlink is created successfully
@ -231,7 +236,7 @@
The glib implementation doesn't strip prefix from translations,
so it's not suitable for us. Finally, it makes man2hlp depend
on libintl.
Reported by Leonard den Ottolander <leonard@den.ottolander.nl>
Reported by Leonard den Ottolander <leonard den ottolander nl>
2005-11-02 Egmont Koblinger <egmont@uhulinux.hu>

View File

@ -148,8 +148,6 @@ handle_console_linux (unsigned char action)
/* Console is not a tty or execl() failed */
console_flag = 0;
write (1, &console_flag, 1);
close (1);
close (0);
_exit (3);
} /* if (cons_saver_pid ...) */
break;