Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3917

Show
Ignore:
Timestamp:
08/27/08 18:54:41 (3 months ago)
Author:
Nietsnie
Message:

Added darwin support to SerialConduit?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/io/device/SerialConduit.d

    r3910 r3917  
    155155                    if(r.length == 0) return false; 
    156156                    return isInRange(r, '0', '9'); 
     157                } else version (darwin) { // untested 
     158                    auto r = rest(path.name, "cu"); 
     159                    if(r.length == 0) return false; 
     160                    return true; 
    157161                } else version(freebsd) { // untested 
    158162                    auto r = rest(path.name, "cuaa");