[Python-checkins] python/dist/src/Objects stringobject.c,2.197,2.198

loewis@users.sourceforge.net loewis@users.sourceforge.net
Fri, 06 Dec 2002 04:49:26 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv11610/Objects

Modified Files:
	stringobject.c 
Log Message:
Patch #614055: Support OpenVMS.


Index: stringobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/stringobject.c,v
retrieving revision 2.197
retrieving revision 2.198
diff -C2 -d -r2.197 -r2.198
*** stringobject.c	18 Nov 2002 16:09:38 -0000	2.197
--- stringobject.c	6 Dec 2002 12:48:52 -0000	2.198
***************
*** 766,770 ****
  	}
  	if (flags & Py_PRINT_RAW) {
! 		fwrite(op->ob_sval, 1, (int) op->ob_size, fp);
  		return 0;
  	}
--- 766,774 ----
  	}
  	if (flags & Py_PRINT_RAW) {
! #ifdef __VMS
!                 if (op->ob_size) fwrite(op->ob_sval, (int) op->ob_size, 1, fp);
! #else
!                 fwrite(op->ob_sval, 1, (int) op->ob_size, fp);
! #endif
  		return 0;
  	}