Revision: 568
http://sourceforge.net/p/vde/svn/568
Author: rd235
Date: 2014-01-15 11:18:47 +0000 (Wed, 15 Jan 2014)
Log Message:
-----------
allow pipes on stdin for daemonized switches
Modified Paths:
--------------
branches/rd235/vde-2/src/kvde_switch/consmgmt.c
branches/rd235/vde-2/src/vde_switch/consmgmt.c
trunk/vde-2/src/kvde_switch/consmgmt.c
trunk/vde-2/src/vde_switch/consmgmt.c
Modified: branches/rd235/vde-2/src/kvde_switch/consmgmt.c
===================================================================
--- branches/rd235/vde-2/src/kvde_switch/consmgmt.c 2014-01-15 11:12:28 UTC
(rev 567)
+++ branches/rd235/vde-2/src/kvde_switch/consmgmt.c 2014-01-15 11:18:47 UTC
(rev 568)
@@ -567,7 +567,7 @@
}
/* add stdin (if tty), connect and data fds to the set of fds we wait
for
* * input */
- if(isatty(0) && !daemonize)
+ if(!daemonize)
{
console_type=add_type(&swmi,0);
add_fd(0,console_type,NULL);
Modified: branches/rd235/vde-2/src/vde_switch/consmgmt.c
===================================================================
--- branches/rd235/vde-2/src/vde_switch/consmgmt.c 2014-01-15 11:12:28 UTC
(rev 567)
+++ branches/rd235/vde-2/src/vde_switch/consmgmt.c 2014-01-15 11:18:47 UTC
(rev 568)
@@ -570,7 +570,7 @@
}
/* add stdin (if tty), connect and data fds to the set of fds we wait
for
* * input */
- if(isatty(0) && !daemonize)
+ if(!daemonize)
{
console_type=add_type(&swmi,0);
add_fd(0,console_type,NULL);
Modified: trunk/vde-2/src/kvde_switch/consmgmt.c
===================================================================
--- trunk/vde-2/src/kvde_switch/consmgmt.c 2014-01-15 11:12:28 UTC (rev
567)
+++ trunk/vde-2/src/kvde_switch/consmgmt.c 2014-01-15 11:18:47 UTC (rev
568)
@@ -567,7 +567,7 @@
}
/* add stdin (if tty), connect and data fds to the set of fds we wait
for
* * input */
- if(isatty(0) && !daemonize)
+ if(!daemonize)
{
console_type=add_type(&swmi,0);
add_fd(0,console_type,NULL);
Modified: trunk/vde-2/src/vde_switch/consmgmt.c
===================================================================
--- trunk/vde-2/src/vde_switch/consmgmt.c 2014-01-15 11:12:28 UTC (rev
567)
+++ trunk/vde-2/src/vde_switch/consmgmt.c 2014-01-15 11:18:47 UTC (rev
568)
@@ -570,7 +570,7 @@
}
/* add stdin (if tty), connect and data fds to the set of fds we wait
for
* * input */
- if(isatty(0) && !daemonize)
+ if(!daemonize)
{
console_type=add_type(&swmi,0);
add_fd(0,console_type,NULL);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
vde-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vde-users