Revision: 554
          http://vde.svn.sourceforge.net/vde/?rev=554&view=rev
Author:   rd235
Date:     2012-08-03 15:02:03 +0000 (Fri, 03 Aug 2012)
Log Message:
-----------
bugfix (3548041)

Modified Paths:
--------------
    branches/rd235/vde-2/src/vdeterm.c

Modified: branches/rd235/vde-2/src/vdeterm.c
===================================================================
--- branches/rd235/vde-2/src/vdeterm.c  2012-08-03 15:01:30 UTC (rev 553)
+++ branches/rd235/vde-2/src/vdeterm.c  2012-08-03 15:02:03 UTC (rev 554)
@@ -116,6 +116,7 @@
        //static int fileout[]={STDOUT_FILENO,STDOUT_FILENO};
        struct vdehiststat *vdehst;
        setsighandlers();
+       tcgetattr(STDIN_FILENO,&tiop);
        atexit(cleanup);
        sun.sun_family=PF_UNIX;
        snprintf(sun.sun_path,sizeof(sun.sun_path),"%s",argv[1]);
@@ -128,7 +129,6 @@
                perror("Socket connecting error");
                exit(-1);
        }
-       tcgetattr(STDIN_FILENO,&tiop);
        newtiop=tiop;
        newtiop.c_cc[VMIN]=1;
        newtiop.c_cc[VTIME]=0;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to