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-July/028029.html below:

[Python-checkins] python/dist/src/Modules cPickle.c,2.90,2.91

[Python-checkins] python/dist/src/Modules cPickle.c,2.90,2.91jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Thu, 18 Jul 2002 13:59:00 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9904

Modified Files:
	cPickle.c 
Log Message:
Fix indentation.


Index: cPickle.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cPickle.c,v
retrieving revision 2.90
retrieving revision 2.91
diff -C2 -d -r2.90 -r2.91
*** cPickle.c	17 Jul 2002 16:30:36 -0000	2.90
--- cPickle.c	18 Jul 2002 20:58:57 -0000	2.91
***************
*** 379,388 ****
  
  	Py_BEGIN_ALLOW_THREADS
! 		nbyteswritten = fwrite(s, sizeof(char), n, self->fp);
  	Py_END_ALLOW_THREADS
! 		if (nbyteswritten != (size_t)n) {
! 			PyErr_SetFromErrno(PyExc_IOError);
! 			return -1;
! 		}
  
  	return n;
--- 379,388 ----
  
  	Py_BEGIN_ALLOW_THREADS
! 	nbyteswritten = fwrite(s, sizeof(char), n, self->fp);
  	Py_END_ALLOW_THREADS
! 	if (nbyteswritten != (size_t)n) {
! 		PyErr_SetFromErrno(PyExc_IOError);
! 		return -1;
! 	}
  
  	return n;






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