VirtualBox

Changeset 20103 in vbox


Ignore:
Timestamp:
May 27, 2009 5:11:22 PM (15 years ago)
Author:
vboxsync
Message:

r3/win/dir-win.cpp: r=bird: this isn't good enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/dir-win.cpp

    r20070 r20103  
    131131RTDECL(int) RTDirCreateTemp(char *pszTemplate)
    132132{
     133    /** @todo r=bird: this doesn't work for more than 26 calls and it's racy:
     134     *        http://msdn.microsoft.com/en-us/library/34wc6k1f(VS.80).aspx */
    133135    if (_mktemp(pszTemplate))
    134136    {
     
    136138        return rc;
    137139    }
    138     return RTErrConvertFromWin32(GetLastError());
     140    return RTErrConvertFromErrno(errno);
    139141}
    140142
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette