ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.C
(Generate patch)

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.311 by sf-exg, Thu Dec 22 14:34:59 2011 UTC vs.
Revision 1.312 by sf-exg, Tue Dec 27 11:09:31 2011 UTC

1719 int fd; 1719 int fd;
1720 1720
1721 fd = open (CONSOLE, O_WRONLY, 0); 1721 fd = open (CONSOLE, O_WRONLY, 0);
1722 if (fd >= 0) 1722 if (fd >= 0)
1723 { 1723 {
1724 ioctl (fd, SRIOCSREDIR, NULL); 1724 ioctl (fd, SRIOCSREDIR, STDIN_FILENO);
1725 close (fd); 1725 close (fd);
1726 } 1726 }
1727#endif /* SRIOCSREDIR */ 1727#endif /* SRIOCSREDIR */
1728 } 1728 }
1729 1729

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines