VirtualBox

Ignore:
Timestamp:
Apr 29, 2010 6:30:09 PM (15 years ago)
Author:
vboxsync
Message:

iprt: dropped RT_DONT_CONVERT_FILENAMES, we've never needed it so far...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp

    r28915 r28918  
    7575*   Defined Constants And Macros                                               *
    7676*******************************************************************************/
    77 /** @def RT_DONT_CONVERT_FILENAMES
    78  * Define this to pass UTF-8 unconverted to the kernel. */
    79 #ifdef DOXYGEN_RUNNING
    80 #define RT_DONT_CONVERT_FILENAMES 1
    81 #endif
    82 
    8377/** Default file permissions for newly created files. */
    8478#if defined(S_IRUSR) && defined(S_IWUSR)
     
    201195     * Open/create the file.
    202196     */
    203 #ifdef RT_DONT_CONVERT_FILENAMES
    204     int fh = open(pszFilename, fOpenMode, fMode);
    205     int iErr = errno;
    206 #else
    207197    char const *pszNativeFilename;
    208198    rc = rtPathToNative(&pszNativeFilename, pszFilename, NULL);
     
    213203    int iErr = errno;
    214204    rtPathFreeNative(pszNativeFilename, pszFilename);
    215 #endif
    216205    if (fh >= 0)
    217206    {
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