wok diff linux/stuff/linux-lzma-2.6.25.5.u @ rev 1905

apache,lighttpd*: ensure only one web server is running
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 21 10:51:14 2008 +0000 (2008-12-21)
parents edda77c45d23
children 47d245deb55b
line diff
     1.1 --- a/linux/stuff/linux-lzma-2.6.25.5.u	Sat Dec 20 14:23:46 2008 +0000
     1.2 +++ b/linux/stuff/linux-lzma-2.6.25.5.u	Sun Dec 21 10:51:14 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;