mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 03:42:58 +00:00
Fix mkdir command, if compiled in UNICODE. Patch by Pierre Schweitzer (heis_spiter at hotmail dot com)
See issue #2216 for more details. svn path=/trunk/; revision=26545
This commit is contained in:
parent
07a4c5d550
commit
253fa4b7a0
3 changed files with 6 additions and 4 deletions
|
@ -440,7 +440,7 @@ MakeFullPath(TCHAR * DirPath)
|
|||
while ((p = _tcschr(p, _T('\\'))) != NULL)
|
||||
{
|
||||
n = p - DirPath + 1;
|
||||
memcpy(path, DirPath, n);
|
||||
_tcsncpy(path, DirPath, n);
|
||||
path[n] = _T('\0');
|
||||
if( !CreateDirectory(path, NULL) &&
|
||||
(GetLastError() != ERROR_ALREADY_EXISTS))
|
||||
|
|
|
@ -570,6 +570,8 @@ STRING_CHCP_ERROR4, "Page de code invalide \n"
|
|||
STRING_CHOICE_ERROR, "Option invalide. Format attendu: /C[:]options"
|
||||
STRING_CHOICE_ERROR_TXT, "Option invalide. Format attendu: /T[:]c,nn"
|
||||
STRING_CHOICE_ERROR_OPTION, "Option invalide : %s"
|
||||
STRING_MD_ERROR, "Un sous répertoire ou un fichier est déjà existant.\n"
|
||||
STRING_MD_ERROR2, "Le chemin vers le nouveau répertoire n'existe pas.\n"
|
||||
STRING_CMD_ERROR1, "Ne peut rediriger l'entrée depuis le fichier %s\n"
|
||||
STRING_CMD_ERROR2, "Erreur à la création du fichier temporaire pour les données du pipe\n"
|
||||
STRING_CMD_ERROR3, "Ne peut rediriger vers le fichier %s\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue