[Python-checkins] python/dist/src/Python dynload_hpux.c,2.7,2.8

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Sat, 02 Nov 2002 12:58:08 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv12089/Python

Modified Files:
	dynload_hpux.c 
Log Message:
Fix SF # 551504, python -v sometimes fails to find init (HPUX)

Joseph Winston recommends removing DYNAMIC_PATH, since it can
cause some dynamic libraries to not load on HP-UX 11.


Index: dynload_hpux.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_hpux.c,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -d -r2.7 -r2.8
*** dynload_hpux.c	26 Jan 2002 20:03:48 -0000	2.7
--- dynload_hpux.c	2 Nov 2002 20:58:05 -0000	2.8
***************
*** 30,34 ****
  	flags = BIND_FIRST | BIND_DEFERRED;
  	if (Py_VerboseFlag) {
! 		flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE |
  			BIND_NONFATAL | BIND_VERBOSE;
  		printf("shl_load %s\n",pathname);
--- 30,34 ----
  	flags = BIND_FIRST | BIND_DEFERRED;
  	if (Py_VerboseFlag) {
! 		flags = BIND_FIRST | BIND_IMMEDIATE |
  			BIND_NONFATAL | BIND_VERBOSE;
  		printf("shl_load %s\n",pathname);