ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/root-tail/root-tail.c
(Generate patch)

Comparing root-tail/root-tail.c (file contents):
Revision 1.53 by pcg, Thu Apr 8 01:19:57 2004 UTC vs.
Revision 1.54 by chris_moore, Thu Apr 8 03:34:35 2004 UTC

1404 if (fcntl (0, F_SETFL, O_NONBLOCK) < 0) 1404 if (fcntl (0, F_SETFL, O_NONBLOCK) < 0)
1405 perror ("fcntl"), exit (1); 1405 perror ("fcntl"), exit (1);
1406 1406
1407 e->fname = NULL; 1407 e->fname = NULL;
1408 e->inode = 0; 1408 e->inode = 0;
1409 if (desc == arg)
1409 e->desc = xstrdup ("stdin"); 1410 e->desc = xstrdup ("stdin");
1411 else
1412 e->desc = xstrdup (desc);
1410 } 1413 }
1411 else 1414 else
1412 { 1415 {
1413 e->fname = xstrdup (fname); 1416 e->fname = xstrdup (fname);
1414 1417

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines