[ python-Bugs-1407069 ] bz2module with no long long type support
SourceForge.net
noreply at sourceforge.net
Tue Jan 17 06:29:03 CET 2006
Bugs item #1407069, was opened at 2006-01-15 22:33
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1407069&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Platform-specific
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: kbob_ru (kbob_ru)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: bz2module with no long long type support
Initial Comment:
in Modules/bz2module.c
#if SIZEOF_LONG >= 8
#define BZS_TOTAL_OUT(bzs) \
(((long)bzs->total_out_hi32 << 32) + bzs-
>total_out_lo32)
#elif SIZEOF_LONG_LONG >= 8
#define BZS_TOTAL_OUT(bzs) \
(((PY_LONG_LONG)bzs->total_out_hi32 << 32) +
bzs->total_out_lo32)
#else
#define BZS_TOTAL_OUT(bzs) \
bzs->total_out_lo32;
#endif
when #else statmen execute it leads to error, because
no semicolon needed in the end of definition:
#define BZS_TOTAL_OUT(bzs) \
bzs->total_out_lo32;
This error found in version 2.3.5 and 2.4.2.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-01-16 21:29
Message:
Logged In: YES
user_id=33168
Thanks! Fixed in head and 2.4 (we don't maintain 2.3 any
longer).
Committed revision 42080.
Committed revision 42081. (2.4)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1407069&group_id=5470
More information about the Python-bugs-list
mailing list