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

Comparing BasiliskII/src/BeOS/serial_beos.cpp (file contents):
Revision 1.2 by cebix, 1999-10-19T19:28:22Z vs.
Revision 1.4 by cebix, 2000-04-10T18:52:53Z

# Line 1 | Line 1
1   /*
2   *  serial_beos.cpp - Serial device driver, BeOS specific stuff
3   *
4 < *  Basilisk II (C) 1997-1999 Christian Bauer
4 > *  Basilisk II (C) 1997-2000 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 169 | Line 169 | int16 BeSERDPort::open(uint16 config)
169          if (is_parallel) {
170                  char name[256];
171                  sprintf(name, "/dev/parallel/%s", device_name);
172 <                fd = open(name, O_WRONLY);
172 >                fd = ::open(name, O_WRONLY);
173                  if (fd < 0) {
174                          release_sem(device_sem);
175                          return openErr;
# Line 513 | Line 513 | int16 BeSERDPort::close()
513          // Close port
514          while (acquire_sem(device_sem) == B_INTERRUPTED) ;
515          if (is_parallel) {
516 <                close(fd);
516 >                ::close(fd);
517                  fd = -1;
518          } else {
519                  if (drop_dtr_on_close)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines