[Python-checkins] python/dist/src/PC/bdist_wininst install.c, 1.9, 1.10

theller at users.sourceforge.net theller at users.sourceforge.net
Mon Jul 19 11:58:00 CEST 2004


Update of /cvsroot/python/python/dist/src/PC/bdist_wininst
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30434

Modified Files:
	install.c 
Log Message:
The binary layout of cfgdata has changed, so the magic number has to
change as well.
Display an additional message box when a mismatch is detected.


Index: install.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/bdist_wininst/install.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** install.c	14 Jul 2004 15:17:04 -0000	1.9
--- install.c	19 Jul 2004 09:57:58 -0000	1.10
***************
*** 956,960 ****
  	}
  
! 	if (pmd->tag != 0x1234567A || ofs < 0) {
  		return FALSE;
  	}
--- 956,964 ----
  	}
  
! 	if (pmd->tag != 0x1234567B) {
! 		return SystemError(0,
! 			   "Invalid cfgdata magic number (see bdist_wininst.py)");
! 	}
! 	if (ofs < 0) {
  		return FALSE;
  	}



More information about the Python-checkins mailing list