mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 20:50:42 +02:00
commit bash-20090903 snapshot
This commit is contained in:
+4
-2
@@ -246,7 +246,8 @@ udequote_pathname (pathname)
|
||||
if (pathname[i - 1] == 0)
|
||||
break;
|
||||
}
|
||||
pathname[j] = '\0';
|
||||
if (pathname)
|
||||
pathname[j] = '\0';
|
||||
}
|
||||
|
||||
#if HANDLE_MULTIBYTE
|
||||
@@ -279,7 +280,8 @@ wdequote_pathname (pathname)
|
||||
if (wpathname[i - 1] == L'\0')
|
||||
break;
|
||||
}
|
||||
wpathname[j] = L'\0';
|
||||
if (wpathname)
|
||||
wpathname[j] = L'\0';
|
||||
|
||||
/* Convert the wide character string into unibyte character set. */
|
||||
memset (&ps, '\0', sizeof(mbstate_t));
|
||||
|
||||
+1
-1
@@ -637,7 +637,7 @@ glob_vector (pat, dir, flags)
|
||||
continue;
|
||||
}
|
||||
|
||||
convfn = fnxform (dp->d_name, D_NAMLEN (dp));
|
||||
convfn = fnx_fromfs (dp->d_name, D_NAMLEN (dp));
|
||||
if (strmatch (pat, convfn, mflags) != FNM_NOMATCH)
|
||||
{
|
||||
if (nalloca < ALLOCA_MAX)
|
||||
|
||||
Reference in New Issue
Block a user