summaryrefslogtreecommitdiff
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-01-16 16:33:28 +0000
committerAndrew M. Kuchling <amk@amk.ca>2001-01-16 16:33:28 +0000
commitb11bd03626f2c4bb545bac0ba2150d6e168faccd (patch)
treee5629e97e94f5275ecb77563b02cd4292c5360f5 /Python/strdup.c
parent9710297e365185e7cdb1a1075a6a1b3d378bd4fc (diff)
downloadcpython-git-b11bd03626f2c4bb545bac0ba2150d6e168faccd.tar.gz
Fix bugs with integer-valued variables when parsing Makefiles. Values
for done[n] can be integers as well as strings, but the code concatenates them with strings (fixed by adding a str()) and calls string.strip() on them (fixed by rearranging the logic) (Presumably this wasn't noticed previously because parse_makefile() was only called on Modules/Makefile, which contains no integer-valued variables.)
Diffstat (limited to 'Python/strdup.c')
0 files changed, 0 insertions, 0 deletions