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.126 by root, Wed Dec 21 23:40:07 2005 UTC vs.
Revision 1.127 by root, Fri Dec 23 14:46:34 2005 UTC

1410{ 1410{
1411#if ENABLE_FRILLS 1411#if ENABLE_FRILLS
1412 if (rs[Rs_pty_fd]) 1412 if (rs[Rs_pty_fd])
1413 { 1413 {
1414 pty.pty = atoi (rs[Rs_pty_fd]); 1414 pty.pty = atoi (rs[Rs_pty_fd]);
1415
1416 if (getfd_hook)
1417 pty.pty = (*getfd_hook) (pty.pty);
1418
1415 fcntl (pty.pty, F_SETFL, O_NONBLOCK); 1419 if (pty.pty < 0 || fcntl (pty.pty, F_SETFL, O_NONBLOCK))
1420 rxvt_fatal ("unusable pty-fd filehandle, aborting.\n");
1416 } 1421 }
1417 else 1422 else
1418#endif 1423#endif
1419 if (!pty.get ()) 1424 if (!pty.get ())
1420 rxvt_fatal ("can't initialize pseudo-tty, aborting.\n"); 1425 rxvt_fatal ("can't initialize pseudo-tty, aborting.\n");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines