A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-November/030674.html below:

[Python-checkins] python/dist/src/Modules bz2module.c,1.9,1.10

[Python-checkins] python/dist/src/Modules bz2module.c,1.9,1.10tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Fri, 08 Nov 2002 20:31:41 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv11840/modules

Modified Files:
	bz2module.c 
Log Message:
BZ2Decomp_decompress():  Fixed more long vs LONG_LONG confusions.


Index: bz2module.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/bz2module.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** bz2module.c	9 Nov 2002 04:30:08 -0000	1.9
--- bz2module.c	9 Nov 2002 04:31:38 -0000	1.10
***************
*** 1710,1714 ****
  	int datasize;
  	int bufsize = SMALLCHUNK;
! 	long totalout;
  	PyObject *ret = NULL;
  	bz_stream *bzs = &self->bzs;
--- 1710,1714 ----
  	int datasize;
  	int bufsize = SMALLCHUNK;
! 	LONG_LONG totalout;
  	PyObject *ret = NULL;
  	bz_stream *bzs = &self->bzs;
***************
*** 1770,1774 ****
  
  	if (bzs->avail_out != 0)
! 		_PyString_Resize(&ret, BZS_TOTAL_OUT(bzs) - totalout);
  
  	RELEASE_LOCK(self);
--- 1770,1774 ----
  
  	if (bzs->avail_out != 0)
! 		_PyString_Resize(&ret, (int)(BZS_TOTAL_OUT(bzs) - totalout));
  
  	RELEASE_LOCK(self);





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4