mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-30 19:57:46 +01:00
commit bash-20120706 snapshot
This commit is contained in:
1 parent
87c1f4ece2
commit
9f178efb2e
44 files changed
+34972
-16191
No files matched your search
+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