Searched refs:tfrom (Results 1 – 1 of 1) sorted by relevance
2727 TCHAR *tfrom = NULL, *tto; in WIN32_rename() local2732 tfrom = (TCHAR *)from; in WIN32_rename()2737 tfrom = malloc(sizeof(*tfrom) * (flen + tlen)); in WIN32_rename()2738 if (tfrom == NULL) in WIN32_rename()2740 tto = tfrom + flen; in WIN32_rename()2742 if (!MultiByteToWideChar(CP_ACP, 0, from, flen, (WCHAR *)tfrom, flen)) in WIN32_rename()2745 tfrom[i] = (TCHAR)from[i]; in WIN32_rename()2753 if (MoveFile(tfrom, tto)) in WIN32_rename()2757 if (DeleteFile(tto) && MoveFile(tfrom, tto)) in WIN32_rename()2770 if (tfrom != NULL && tfrom != (TCHAR *)from) in WIN32_rename()[all …]