• R/O
  • SSH
  • HTTPS

scip: Commit


Commit MetaInfo

Revision31 (tree)
Time2009-08-23 00:44:00
Authorbluewind

Log Message

返値のバグをFIX

Change Summary

Incremental Difference

--- libscip2/trunk/src/scipio-linux.c (revision 30)
+++ libscip2/trunk/src/scipio-linux.c (revision 31)
@@ -284,7 +284,7 @@
284284 cfsetospeed(&tio,speed); // bitrate
285285
286286 // Commit
287- if(tcsetattr(aDev->fd,TCSADRAIN,&tio)==0)
287+ if(tcsetattr(aDev->fd,TCSADRAIN,&tio)!=0)
288288 return 1;
289289 return 0;
290290 }
@@ -306,7 +306,7 @@
306306 tio.c_cc[VMIN] =0;
307307
308308 // Commit
309- if(tcsetattr(aDev->fd,TCSADRAIN,&tio)==0)
309+ if(tcsetattr(aDev->fd,TCSADRAIN,&tio)!=0)
310310 return 1;
311311 #endif
312312
Show on old repository browser