Ignore:
Timestamp:
Nov 29, 2001, 12:52:50 AM (24 years ago)
Author:
phaller
Message:

device name fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/hmcomm.cpp

    r7474 r7475  
    1 /* $Id: hmcomm.cpp,v 1.18 2001-11-28 23:33:35 phaller Exp $ */
     1/* $Id: hmcomm.cpp,v 1.19 2001-11-28 23:52:50 phaller Exp $ */
    22
    33/*
     
    9999   
    100100    PSZ pszCOM = strdup("\\\\.\\COMx");
     101    PSZ pszCOM2 = strdup("\\\\.\\COMx:");
    101102    for (char ch = '1'; ch <= '9'; ch++)
    102103    {
    103104      pszCOM[7] = ch;
     105      pszCOM2[7] = ch;
    104106      HandleNamesAddSymbolicLink(pszCOM, pszCOM+4);
     107      HandleNamesAddSymbolicLink(pszCOM2, pszCOM+4);
    105108    }
    106109    free(pszCOM);
     110    free(pszCOM2);
    107111  }
    108112}
Note: See TracChangeset for help on using the changeset viewer.