Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 518598
Collapse All | Expand All

(-)a/bash-4.2/lib/glob/glob.c (-3 / +2 lines)
Lines 437-442 Link Here
437
  int nalloca;
437
  int nalloca;
438
  struct globval *firstmalloc, *tmplink;
438
  struct globval *firstmalloc, *tmplink;
439
  char *convfn;
439
  char *convfn;
440
  int dirlen;
441
  struct stat finfo;
440
442
441
  lastlink = 0;
443
  lastlink = 0;
442
  count = lose = skip = add_current = 0;
444
  count = lose = skip = add_current = 0;
Lines 478-486 Link Here
478
     vector to return and bail immediately. */
480
     vector to return and bail immediately. */
479
  if (skip == 0 && glob_pattern_p (pat) == 0)
481
  if (skip == 0 && glob_pattern_p (pat) == 0)
480
    {
482
    {
481
      int dirlen;
482
      struct stat finfo;
483
484
      if (glob_testdir (dir) < 0)
483
      if (glob_testdir (dir) < 0)
485
	return ((char **) &glob_error_return);
484
	return ((char **) &glob_error_return);
486
485

Return to bug 518598