Changeset 1757 for trunk/MagicSoft/Cosy/candrv/vmodican.cc
- Timestamp:
- 02/14/03 17:12:58 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/candrv/vmodican.cc
r1727 r1757 64 64 int VmodIcan::Ioctl(int msg, void *arg) 65 65 { 66 return ioctl(fd, msg, (int)arg) >= 0;66 return fd<0 ? 1 : ioctl(fd, msg, (int)arg) >= 0; 67 67 } 68 68 … … 104 104 void *VmodIcan::Thread() 105 105 { 106 if (fd<0) 107 return NULL; 108 106 109 lout << "- Starting Receiver Loop." << endl; 107 110 … … 946 949 cout << "Cannot open device '" << dev << "'... exit." << endl; 947 950 cout << strerror(errno) << endl; 948 exit(1); // open module951 // exit(1); // open module 949 952 } 950 953
Note:
See TracChangeset
for help on using the changeset viewer.