mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
Dima Kogan: 30515: fix globbing problem with large files:
failure owing to bad cast with large integers
This commit is contained in:
parent
38a4364db5
commit
c3fb9dbfa3
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-06-18 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* Dima Kogan: 30515: Src/glob.c: glob size test failed on very
|
||||||
|
large files owing to integer type error.
|
||||||
|
|
||||||
2012-06-15 Phil Pennock <pdpennock@users.sourceforge.net>
|
2012-06-15 Phil Pennock <pdpennock@users.sourceforge.net>
|
||||||
|
|
||||||
* 30513: zsh/regex metafy fixes for widechar; similar to 29838.
|
* 30513: zsh/regex metafy fixes for widechar; similar to 29838.
|
||||||
|
@ -16369,5 +16374,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5670 $
|
* $Revision: 1.5671 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -997,7 +997,9 @@ gmatchcmp(Gmatch a, Gmatch b)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (r)
|
if (r)
|
||||||
return (int) ((s->tp & GS_DESC) ? -r : r);
|
return (s->tp & GS_DESC) ?
|
||||||
|
(r < 0L ? 1 : -1) :
|
||||||
|
(r > 0L ? 1 : -1);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue