View | Details | Raw Unified | Return to bug 30737
Collapse All | Expand All

(-)system.c (+5 lines)
Lines 56-61 Link Here
56
static int
56
static int
57
intr_restart(dialogMenuItem *self)
57
intr_restart(dialogMenuItem *self)
58
{
58
{
59
	int fd, fdmax;
60
61
	fdmax = getdtablesize();
62
	for (fd = 3; fd < fdmax; fd++)
63
		close(fd);
59
	execl(StartName, StartName, (char *)NULL);
64
	execl(StartName, StartName, (char *)NULL);
60
	/* NOTREACHED */
65
	/* NOTREACHED */
61
	return -1;
66
	return -1;

Return to bug 30737