ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/serial_unix.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/serial_unix.cpp (file contents):
Revision 1.3 by cebix, 1999-10-19T19:28:23Z vs.
Revision 1.4 by cebix, 1999-10-19T20:13:57Z

# Line 177 | Line 177 | int16 XSERDPort::open(uint16 config)
177          quitting = false;
178  
179          // Open port
180 <        fd = open(device_name, O_RDWR);
180 >        fd = ::open(device_name, O_RDWR);
181          if (fd < 0)
182                  goto open_error;
183  
# Line 238 | Line 238 | open_error:
238                  output_thread_active = false;
239          }
240          if (fd > 0) {
241 <                close(fd);
241 >                ::close(fd);
242                  fd = -1;
243          }
244          return openErr;
# Line 513 | Line 513 | int16 XSERDPort::close()
513  
514          // Close port
515          if (fd > 0)
516 <                close(fd);
516 >                ::close(fd);
517          fd = -1;
518          return noErr;
519   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines