wok-current rev 1902

linux/initramfs: tiny fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 20 20:41:43 2008 +0000 (2008-12-20)
parents 0c66ef3b8a58
children cb3aa8de28c0
files linux/stuff/linux-lzma-2.6.25.5.u
line diff
     1.1 --- a/linux/stuff/linux-lzma-2.6.25.5.u	Sat Dec 20 19:13:11 2008 +0100
     1.2 +++ b/linux/stuff/linux-lzma-2.6.25.5.u	Sat Dec 20 20:41:43 2008 +0000
     1.3 @@ -2163,7 +2163,7 @@
     1.4  +static uch get_byte(void)
     1.5  +{
     1.6  +	uch c;
     1.7 -+	if (inptr > insize) return -1;
     1.8 ++	if (inptr >= insize) return -1;
     1.9  +	c = inbuf[inptr++];
    1.10  +	release_inbuf(1);
    1.11  +	return c;