mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
commit bash-20120706 snapshot
This commit is contained in:
+5
-2
@@ -383,8 +383,11 @@ wdequote_pathname (pathname)
|
||||
/* Convert the strings into wide characters. */
|
||||
n = xdupmbstowcs (&wpathname, NULL, pathname);
|
||||
if (n == (size_t) -1)
|
||||
/* Something wrong. Fall back to single-byte */
|
||||
return udequote_pathname (pathname);
|
||||
{
|
||||
/* Something wrong. Fall back to single-byte */
|
||||
udequote_pathname (pathname);
|
||||
return;
|
||||
}
|
||||
orig_wpathname = wpathname;
|
||||
|
||||
for (i = j = 0; wpathname && wpathname[i]; )
|
||||
|
||||
+1249
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user