Changeset 28918 in vbox for trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
- Timestamp:
- Apr 29, 2010 6:30:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
r28915 r28918 75 75 * Defined Constants And Macros * 76 76 *******************************************************************************/ 77 /** @def RT_DONT_CONVERT_FILENAMES78 * Define this to pass UTF-8 unconverted to the kernel. */79 #ifdef DOXYGEN_RUNNING80 #define RT_DONT_CONVERT_FILENAMES 181 #endif82 83 77 /** Default file permissions for newly created files. */ 84 78 #if defined(S_IRUSR) && defined(S_IWUSR) … … 201 195 * Open/create the file. 202 196 */ 203 #ifdef RT_DONT_CONVERT_FILENAMES204 int fh = open(pszFilename, fOpenMode, fMode);205 int iErr = errno;206 #else207 197 char const *pszNativeFilename; 208 198 rc = rtPathToNative(&pszNativeFilename, pszFilename, NULL); … … 213 203 int iErr = errno; 214 204 rtPathFreeNative(pszNativeFilename, pszFilename); 215 #endif216 205 if (fh >= 0) 217 206 {
Note:
See TracChangeset
for help on using the changeset viewer.