Use wide char variable to remove directory.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Esse commit está contido em:
commit de
Andreas Schneider
pai
7d0acf9ba3
commit
f2b9bc6d0d
+1
-1
@@ -99,7 +99,7 @@ int c_rmdirs(const char *path) {
|
||||
if ((d = _topendir(wpath)) != NULL) {
|
||||
while( _tstat(wpath, &sb) == 0) {
|
||||
/* if we can remove the directory we're done */
|
||||
if (_trmdir(path) == 0) {
|
||||
if (_trmdir(wpath) == 0) {
|
||||
break;
|
||||
}
|
||||
switch (errno) {
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário