Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
60d96cd5
Commit
60d96cd5
authored
Dec 18, 2007
by
Christian Heimes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport of #1638: %zd configure test fails on Linux
parent
8e9e4d8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
6 deletions
+29
-6
Misc/NEWS
Misc/NEWS
+15
-0
configure
configure
+7
-3
configure.in
configure.in
+7
-3
No files found.
Misc/NEWS
View file @
60d96cd5
...
...
@@ -13,6 +13,21 @@ Core and builtins
-----------------
- Issue #1553: An errornous __length_hint__ can make list() raise a
- Issue #1638: %zd configure test fails on Linux
- Issue #1620: New property decorator syntax was modifying the decorator
in place instead of creating a new decorator object.
- Issue #1580: New free format floating point representation based on
"Floating-Point Printer Sample Code", by Robert G. Burger. For example
repr(11./5) now returns '
2.2
' instead of '
2.2000000000000002
'.
- Issue #1538: Avoid copying string in split/rsplit if the split
char is not found.
- Issue #1553: An erroneous __length_hint__ can make list() raise a
>>>>>>> .merge-rechts.r59533
SystemError.
- Issue #1521: On 64bit platforms, using PyArgs_ParseTuple with the t# of w#
...
...
configure
View file @
60d96cd5
...
...
@@ -22505,9 +22505,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <stddef.h>
#include <string.h>
int main()
{
char buffer[256];
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SSIZE_T
typedef ssize_t Py_ssize_t;
...
...
@@ -22517,6 +22517,10 @@ typedef long Py_ssize_t;
typedef int Py_ssize_t;
#endif
int main()
{
char buffer[256];
if(sprintf(buffer, "%zd", (size_t)123) < 0)
return 1;
...
...
configure.in
View file @
60d96cd5
...
...
@@ -3411,9 +3411,9 @@ AC_TRY_RUN([#include <stdio.h>
#include <stddef.h>
#include <string.h>
int main()
{
char buffer[256];
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SSIZE_T
typedef ssize_t Py_ssize_t;
...
...
@@ -3423,6 +3423,10 @@ typedef long Py_ssize_t;
typedef int Py_ssize_t;
#endif
int main()
{
char buffer[256];
if(sprintf(buffer, "%zd", (size_t)123) < 0)
return 1;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment