32876 Commits

Author SHA1 Message Date
Martin v. Löwis
fd9a72ad89 Patch #881820: look for openpty and forkpty also in libbsd.
Will backport.
2006-01-08 10:07:33 +00:00
Neal Norwitz
0c6e2f1640 Remove some shadowed variables 2006-01-08 06:13:44 +00:00
Neal Norwitz
76dc081dd9 strlen() returns a size_t, get rid of 64-bit warning 2006-01-08 06:13:13 +00:00
Tim Peters
e93e64fb1a Repair bizarre indentation created by VC 7.1. 2006-01-08 02:28:41 +00:00
Tim Peters
5db42c4c50 alias_for_import_name(): Dueling compiler warnings ;-)
Squash new warnings from VC 7.1 about mixing signed and
unsigned types in comparisons.  I can see why `len` was
changed to size_t here, but don't see why `i` was also
changed.  Change `i` back to int.
2006-01-08 02:25:34 +00:00
Tim Peters
d8fe7ab711 analyze_cells(): This no longer compiled under VC 7.1.
Move declaration of local `flags` to top of block.
2006-01-08 02:19:07 +00:00
Neal Norwitz
46aae198ad Revert previous checkin, the check is for <, not ==. i is unsed in non-debug builds, but is used in debug builds 2006-01-08 02:06:01 +00:00
Neal Norwitz
dde5090d74 ignore db_home (result of db tests) 2006-01-08 01:18:12 +00:00
Neal Norwitz
7da02fd879 ignore db_home (result of db tests) and autom4te.cache from autoconf 2006-01-08 01:17:40 +00:00
Neal Norwitz
d43069ce95 Fix icc warnings: remove (sometimes) unused variable conditionally 2006-01-08 01:12:10 +00:00
Neal Norwitz
b2da01b27c Fix icc warnings: remove unused variable 2006-01-08 01:11:25 +00:00
Neal Norwitz
056a2d6582 Fix icc warnings. This couldn't have been correct since i is checked
for 2 different values without changing.  I think this was the intent.
The unused warning only occurs when not building in debug mode.
2006-01-08 01:10:34 +00:00
Neal Norwitz
d948a43df8 Fix icc warnings: try to set TCL_UNIX_FD for #if TCL_WIN_SOCKET == TCL_UNIX_FD. res is not used, add a XXX comment 2006-01-08 01:08:55 +00:00
Neal Norwitz
e4ab5f5531 Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR 2006-01-08 01:08:09 +00:00
Neal Norwitz
46b7bda9bc Fix icc warnings: conversion from "long" to "int" may lose significant bits 2006-01-08 01:06:06 +00:00
Neal Norwitz
d39d861a36 Fix icc warnings: strlen() returns size_t 2006-01-08 01:03:36 +00:00
Tim Peters
2841af4cec Revert revision 41940: the test causes -uall to
fail everywhere.
2006-01-07 23:20:46 +00:00
Neal Norwitz
020c46aa1f icc accepts -OPT... but generates a warning, so just disable the check 2006-01-07 21:39:28 +00:00
Neal Norwitz
8208b64670 Fix icc warnings: single bit fields should be unsigned 2006-01-07 21:25:23 +00:00
Neal Norwitz
daf595f8a9 Fix icc warnings: shadowing local variable (i) and complex is set but not used, so remove 2006-01-07 21:24:54 +00:00
Neal Norwitz
08b401f67a Fix icc warnings: single bit fields should be unsigned, shadowing local variables 2006-01-07 21:24:09 +00:00
Neal Norwitz
406c640344 Fix icc warnings: shadowing local variables 2006-01-07 21:23:26 +00:00
Neal Norwitz
52ca0dd712 Fix icc warnings: using wrong enum type 2006-01-07 21:21:16 +00:00
Neal Norwitz
f0459142d5 Fix icc warnings: extra semi-colon and signed vs unsigned 2006-01-07 21:20:24 +00:00
Neal Norwitz
3f0464839b Fix icc warnings: extra semi-colon 2006-01-07 21:19:49 +00:00
Neal Norwitz
fe8e3d918e If there is no libtermcap all the readline tests failed.
This inappropriately disabled some capabilities which exist.

Now test for readline in -lreadline, if not found there, try it
in -ltermcap only if not in -lreadline.  If both libraries are
required, there will need to be more work, but I'm not sure
under what conditions both libraries would be required.
2006-01-07 21:07:20 +00:00
Georg Brandl
39cdfff691 Add compiler test regarding optional arguments. 2006-01-06 19:28:15 +00:00
Georg Brandl
74ef694da0 Correct typo 2006-01-06 19:26:42 +00:00
Neal Norwitz
9f39f68533 initscr() will exit if there's an error. Try to catch the obvious failure
cases if TERM isn't set or is unknown (perhaps we should only check if
unset or empty?)

Skip the test if TERM isn't set.  This seems to occur when running under
buildbot and presumably cron.

For some more info check here:
http://mail.python.org/pipermail/python-checkins/2006-January/048704.html

Will backport if it works.
2006-01-06 04:18:21 +00:00
Tim Peters
a9652f11ad Py_GetBuildInfo(): Squash compiler warnings.
Locals `revision` and `branch` were const-incorrect.
2006-01-06 02:45:17 +00:00
Tim Peters
e86e7a5b62 svnversion_init(): Use standard layout for function defn. 2006-01-06 02:42:46 +00:00
Tim Peters
216b78bdaa Trimmed trailing whitespace. 2006-01-06 02:40:53 +00:00
Martin v. Löwis
1df5c3961c Generalize buildno to be a sequence of non-comma
characters.
2006-01-06 00:44:11 +00:00
Martin v. Löwis
456af5f78b Deal with empty svn_revisions. 2006-01-06 00:43:42 +00:00
Martin v. Löwis
a0196c52d7 Add HeadURL to the keywords. 2006-01-05 23:40:01 +00:00
Martin v. Löwis
43b57805fb Drop sys.build_number. Add sys.subversion. 2006-01-05 23:38:54 +00:00
Skip Montanaro
2b47445234 squash compiler warning on Mac OSX 10.3 2006-01-05 10:49:13 +00:00
Martin v. Löwis
c5bf5a00a3 Always set SVNVERSION to "exported" if it otherwise fails. 2006-01-05 10:33:59 +00:00
Martin v. Löwis
dea59e5755 Stop maintaining the buildno file.
Also, stop determining Unicode sizes with PyString_GET_SIZE.
2006-01-05 10:00:36 +00:00
Neal Norwitz
c6d1f9100f If the audio file does not exist, the test should be skipped. Will backport. 2006-01-05 07:16:13 +00:00
Neal Norwitz
f2d66fe1ec Try to make svnversion test more portable, based on Sjoerd's suggestion 2006-01-05 06:38:15 +00:00
Neal Norwitz
eeab7da591 Skip test_curses if stdin is not a tty (like when run from cron or buildbot). Will backport. 2006-01-05 06:09:13 +00:00
Neal Norwitz
40c6b47ca1 Fix errors on 64-bit platforms. Will backport 2006-01-05 05:43:35 +00:00
Georg Brandl
5f86142986 Bug #1395715: wrong LaTeX label 2006-01-04 21:05:07 +00:00
Hye-Shik Chang
23f391c6a1 Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
Barry Warsaw
6bfd8de9e6 SF bug #1395926: Also test for svnversion command on $PATH before using it to
calculate the build number.
2006-01-03 14:30:55 +00:00
Martin v. Löwis
64c33ddab1 Mention that zlib is now builtin on Windows. 2006-01-03 07:42:14 +00:00
Martin v. Löwis
532bc0375f Patch #1307806: Use project defaults where possible 2006-01-03 07:38:51 +00:00
Martin v. Löwis
4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Martin v. Löwis
70cef449ca Remove unneeded directories. 2006-01-03 06:48:38 +00:00