You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while (char* sep = strchr((char *)cFileName, '\\')) *sep = '/';
528
527
hSrcFile = ::open(cFileName, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); //за такое использование указателя нужно убивать, но пока пусть будет
data = (char*)MapViewOfFile(hSrcMap, FILE_MAP_READ, 0, 0, 0);
570
570
#elif defined(LINUX)
571
-
while (char* sep = strchr((char *)cFileName, '\\')) *sep = '/';
572
571
hSrcFile = ::open(cFileName, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); //за такое использование указателя нужно убивать, но пока пусть будет
0 commit comments