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.310 by sf-exg, Thu Dec 22 10:38:09 2011 UTC vs.
Revision 1.311 by sf-exg, Thu Dec 22 14:34:59 2011 UTC

1718#elif defined (SRIOCSREDIR) 1718#elif defined (SRIOCSREDIR)
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 if (ioctl (fd, SRIOCSREDIR, NULL) < 0) 1724 ioctl (fd, SRIOCSREDIR, NULL);
1724 close (fd); 1725 close (fd);
1726 }
1725#endif /* SRIOCSREDIR */ 1727#endif /* SRIOCSREDIR */
1726 } 1728 }
1727 1729
1728 /* reset signals and spin off the command interpreter */ 1730 /* reset signals and spin off the command interpreter */
1729 signal (SIGINT, SIG_DFL); 1731 signal (SIGINT, SIG_DFL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines