[Python-checkins] CVS: python/dist/src/Lib/distutils/command config.py,1.7,1.8
A.M. Kuchling
akuchling@users.sourceforge.net
Thu, 16 Aug 2001 06:56:43 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Objects complexobject.c,2.37,2.38 descrobject.c,2.2,2.3 dictobject.c,2.108,2.109 fileobject.c,2.117,2.118 iterobject.c,1.6,1.7 listobject.c,2.98,2.99 methodobject.c,2.36,2.37 rangeobject.c,2.27,2.28 stringobject.c,2.122,2.123 typeobject.c,2.35,2.36 unicodeobject.c,2.107,2.108
- Next message: [Python-checkins] CVS: python/dist/src/Lib/distutils/command config.py,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv1293
Modified Files:
config.py
Log Message:
[Patch #442530 from twburton]
Provide include_dirs argument to all calls to ._preprocess and ._compile
Fix typo: pattern.search(pattern) should be pattern.search(line)
Index: config.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/config.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** config.py 2001/08/13 13:56:24 1.7
--- config.py 2001/08/16 13:56:40 1.8
***************
*** 188,192 ****
ok = 1
try:
! self._preprocess(body, headers, lang)
except CompileError:
ok = 0
--- 188,192 ----
ok = 1
try:
! self._preprocess(body, headers, include_dirs, lang)
except CompileError:
ok = 0
***************
*** 206,210 ****
self._check_compiler()
! (src, out) = self._preprocess(body, headers, lang)
if type(pattern) is StringType:
--- 206,210 ----
self._check_compiler()
! (src, out) = self._preprocess(body, headers, include_dirs, lang)
if type(pattern) is StringType:
***************
*** 217,221 ****
if line == '':
break
! if pattern.search(pattern):
match = 1
break
--- 217,221 ----
if line == '':
break
! if pattern.search(line):
match = 1
break
***************
*** 232,236 ****
self._check_compiler()
try:
! self._compile(body, headers, lang)
ok = 1
except CompileError:
--- 232,236 ----
self._check_compiler()
try:
! self._compile(body, headers, include_dirs, lang)
ok = 1
except CompileError:
- Previous message: [Python-checkins] CVS: python/dist/src/Objects complexobject.c,2.37,2.38 descrobject.c,2.2,2.3 dictobject.c,2.108,2.109 fileobject.c,2.117,2.118 iterobject.c,1.6,1.7 listobject.c,2.98,2.99 methodobject.c,2.36,2.37 rangeobject.c,2.27,2.28 stringobject.c,2.122,2.123 typeobject.c,2.35,2.36 unicodeobject.c,2.107,2.108
- Next message: [Python-checkins] CVS: python/dist/src/Lib/distutils/command config.py,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]