Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126164 | Differences between
and this patch

Collapse All | Expand All

(-)libc/posix/fnmatch.c (+1 lines)
Lines 383-388 Link Here
383
	  if (__builtin_expect (n == (size_t) -1, 0))
383
	  if (__builtin_expect (n == (size_t) -1, 0))
384
	    /* Something wrong.  Fall back to single byte matching.  */
384
	    /* Something wrong.  Fall back to single byte matching.  */
385
	    goto try_singlebyte;
385
	    goto try_singlebyte;
386
	  wstring = (wchar_t *) alloca ((n + 1) * sizeof (wchar_t));
386
	  assert (mbsinit (&ps));
387
	  assert (mbsinit (&ps));
387
	  (void) mbsrtowcs (wstring, &string, n + 1, &ps);
388
	  (void) mbsrtowcs (wstring, &string, n + 1, &ps);
388
	}
389
	}

Return to bug 126164