Changeset 65958 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Mar 6, 2017 9:10:38 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113783
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r65956 r65958 238 238 from fcntl import FD_CLOEXEC, F_GETFD, F_SETFD, fcntl; # pylint: disable=F0401 239 239 except: 240 # On windows, use the 'N' flag introduces in Visual C++ 7.0 or 7.1. 241 if getHostOs() == 'win': 242 offComma = sMode.find(','); 243 if offComma < 0: 244 return open(sFile, sMode + 'N'); 245 return open(sFile, sMode[:offComma] + 'N' + sMode[offComma:]); 246 # Just in case. 240 247 return open(sFile, sMode); 241 248
Note:
See TracChangeset
for help on using the changeset viewer.