SOURCES: lzma427_zlib.patch - merge fix from lrzip patchset.

pluto pluto at pld-linux.org
Wed Nov 1 13:22:18 CET 2006


Author: pluto                        Date: Wed Nov  1 12:22:18 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- merge fix from lrzip patchset.

---- Files affected:
SOURCES:
   lzma427_zlib.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/lzma427_zlib.patch
diff -u SOURCES/lzma427_zlib.patch:1.3 SOURCES/lzma427_zlib.patch:1.4
--- SOURCES/lzma427_zlib.patch:1.3	Fri Dec  9 23:45:08 2005
+++ SOURCES/lzma427_zlib.patch	Wed Nov  1 13:22:13 2006
@@ -189,7 +189,7 @@
 +	  else if (seekOrigin == STREAM_SEEK_END) _offset = m_size;
 +	  else return STG_E_INVALIDFUNCTION;
 +
-+	  if (_offset < 0 || _offset > m_size)
++	  if (_offset > m_size)
 +		  return STG_E_SEEKERROR;
 +
 +	  m_offset = _offset;
@@ -256,7 +256,7 @@
 +	  else if (seekOrigin == STREAM_SEEK_END) _offset = m_size;
 +	  else return STG_E_INVALIDFUNCTION;
 +
-+	  if (_offset < 0 || _offset > m_maxsize)
++	  if (_offset > m_maxsize)
 +		  return STG_E_SEEKERROR;
 +
 +	  m_offset = _offset;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/lzma427_zlib.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list