Ignore:
Timestamp:
Jan 23, 2001, 12:59:45 PM (25 years ago)
Author:
sandervl
Message:

vio, thread exit fixes

File:
1 edited

Legend:

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

    r4862 r5016  
    1 /* $Id: oslibdos.cpp,v 1.55 2000-12-31 12:28:54 sandervl Exp $ */
     1/* $Id: oslibdos.cpp,v 1.56 2001-01-23 11:59:45 sandervl Exp $ */
    22/*
    33 * Wrappers for OS/2 Dos* API
     
    16871687}
    16881688
     1689// TODO: not finished nor correct!!!!
    16891690VOID long2ShortName(CHAR* longName, CHAR* shortName)
    16901691{
     
    17291730       x++)
    17301731  {
    1731     switch (*source++)
     1732    switch (*source)
    17321733    {
    17331734      case '.': // a period will cause the loop to abort!
     
    17411742        flag83 = FALSE;
    17421743        break;
     1744      default:
     1745        source++;
     1746        break;
    17431747    }
    17441748  }
     
    17471751  if (flag83 == TRUE)
    17481752    if (*source != '.')
    1749       flag83 = FALSE;
     1753         flag83 = FALSE;
     1754    else source++;
    17501755 
    17511756  // verify extension
     
    17641769          break;
    17651770      }
     1771      source++;
    17661772    }
    17671773 
     
    17771783    // an app opening a specific file with an 8:3 "alias",
    17781784    // would surely fail.
    1779     strcpy(longName,
    1780            shortName);
     1785    strcpy(shortName, longName);
    17811786   
    17821787    return; // Done
     
    18401845  CHAR* name;
    18411846
     1847  pFind->dwReserved0 = pFind->dwReserved1 = 0;
    18421848  pFind->dwFileAttributes = pm2WinFileAttributes(pResult->attrFile);
    18431849
     
    18631869{
    18641870  pFind->dwFileAttributes = pm2WinFileAttributes(pResult->attrFile);
     1871  pFind->dwReserved0 = pFind->dwReserved1 = 0;
    18651872
    18661873  pmDateTimeToFileTime(&pResult->fdateCreation,&pResult->ftimeCreation,&pFind->ftCreationTime);
Note: See TracChangeset for help on using the changeset viewer.