Searched refs:tfrom (Results 1 – 1 of 1) sorted by relevance
2133 TCHAR *tfrom = NULL, *tto; in WIN32_rename() local2138 tfrom = (TCHAR *)from; in WIN32_rename()2143 tfrom = malloc(sizeof(*tfrom) * (flen + tlen)); in WIN32_rename()2144 if (tfrom == NULL) in WIN32_rename()2146 tto = tfrom + flen; in WIN32_rename()2148 if (!MultiByteToWideChar(CP_ACP, 0, from, flen, (WCHAR *)tfrom, flen)) in WIN32_rename()2151 tfrom[i] = (TCHAR)from[i]; in WIN32_rename()2159 if (MoveFile(tfrom, tto)) in WIN32_rename()2163 if (DeleteFile(tto) && MoveFile(tfrom, tto)) in WIN32_rename()2176 if (tfrom != NULL && tfrom != (TCHAR *)from) in WIN32_rename()[all …]