Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 260143
Collapse All | Expand All

(-)Modules/cjkcodecs/_codecs_iso2022.c.dist (-1 / +1 lines)
Lines 203-209 ENCODER(iso2022) Link Here
203
				} else
203
				} else
204
					encoded = dsg->encoder(&c, &length);
204
					encoded = dsg->encoder(&c, &length);
205
#else
205
#else
206
				encoded = dsg->encoder(*inbuf, &length);
206
				encoded = dsg->encoder((ucs4_t *)inbuf, &length);
207
#endif
207
#endif
208
				if (encoded != MAP_UNMAPPABLE) {
208
				if (encoded != MAP_UNMAPPABLE) {
209
					insize = length;
209
					insize = length;
(-)Modules/_ctypes/_ctypes.c.dist (-1 / +1 lines)
Lines 3360-3366 CFuncPtr_call(CFuncPtrObject *self, PyOb Link Here
3360
		}
3360
		}
3361
	}
3361
	}
3362
3362
3363
	result = _CallProc(pProc,
3363
	result = _CallProc((PPROC)pProc,
3364
			   callargs,
3364
			   callargs,
3365
#ifdef MS_WIN32
3365
#ifdef MS_WIN32
3366
			   piunk,
3366
			   piunk,
(-)Modules/_ctypes/_ctypes_test.c.dist (-2 / +2 lines)
Lines 319-326 EXPORT(PY_LONG_LONG) last_tf_arg_s; Link Here
319
EXPORT(unsigned PY_LONG_LONG) last_tf_arg_u;
319
EXPORT(unsigned PY_LONG_LONG) last_tf_arg_u;
320
320
321
struct BITS {
321
struct BITS {
322
	int A: 1, B:2, C:3, D:4, E: 5, F: 6, G: 7, H: 8, I: 9;
322
	unsigned int A: 1, B:2, C:3, D:4, E: 5, F: 6, G: 7, H: 8, I: 9;
323
	short M: 1, N: 2, O: 3, P: 4, Q: 5, R: 6, S: 7;
323
	unsigned short M: 1, N: 2, O: 3, P: 4, Q: 5, R: 6, S: 7;
324
};
324
};
325
325
326
DL_EXPORT(void) set_bitfields(struct BITS *bits, char name, int value)
326
DL_EXPORT(void) set_bitfields(struct BITS *bits, char name, int value)
(-)Modules/posixmodule.c.dist (-1 / +3 lines)
Lines 169-175 corresponding Unix manual entries for mo Link Here
169
extern char        *ctermid_r(char *);
169
extern char        *ctermid_r(char *);
170
#endif
170
#endif
171
171
172
#ifndef HAVE_UNISTD_H
172
#ifdef HAVE_UNISTD_H
173
#include <unistd.h>
174
#else
173
#if defined(PYCC_VACPP)
175
#if defined(PYCC_VACPP)
174
extern int mkdir(char *);
176
extern int mkdir(char *);
175
#else
177
#else
(-)Modules/mmapmodule.c.dist (+4 lines)
Lines 37-42 my_getpagesize(void) Link Here
37
#include <sys/mman.h>
37
#include <sys/mman.h>
38
#include <sys/stat.h>
38
#include <sys/stat.h>
39
39
40
#ifdef HAVE_FCNTL_H
41
#include <fcntl.h>
42
#endif
43
40
#if defined(HAVE_SYSCONF) && defined(_SC_PAGESIZE)
44
#if defined(HAVE_SYSCONF) && defined(_SC_PAGESIZE)
41
static int
45
static int
42
my_getpagesize(void)
46
my_getpagesize(void)
(-)Modules/_cursesmodule.c.dist (-3 lines)
Lines 117-125 char *PyCursesVersion = "2.2"; Link Here
117
    curses module in other ways.  So the code will just specify 
117
    curses module in other ways.  So the code will just specify 
118
    explicit prototypes here. */
118
    explicit prototypes here. */
119
extern int setupterm(char *,int,int *);
119
extern int setupterm(char *,int,int *);
120
#ifdef __sgi
121
#include <term.h>
122
#endif
123
120
124
#if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun) || defined(SCO5))
121
#if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun) || defined(SCO5))
125
#define STRICT_SYSV_CURSES       /* Don't use ncurses extensions */
122
#define STRICT_SYSV_CURSES       /* Don't use ncurses extensions */
(-)Modules/_ctypes/libffi/src/mips/ffitarget.h.dist (-4 / +4 lines)
Lines 121-132 Link Here
121
#else /* !LIBFFI_ASM */
121
#else /* !LIBFFI_ASM */
122
#ifdef FFI_MIPS_O32
122
#ifdef FFI_MIPS_O32
123
/* O32 stack frames have 32bit integer args */
123
/* O32 stack frames have 32bit integer args */
124
typedef unsigned int     ffi_arg __attribute__((__mode__(__SI__)));
124
typedef __uint32_t ffi_arg;
125
typedef signed   int     ffi_sarg __attribute__((__mode__(__SI__)));
125
typedef __int32_t ffi_sarg;
126
#else
126
#else
127
/* N32 and N64 frames have 64bit integer args */
127
/* N32 and N64 frames have 64bit integer args */
128
typedef unsigned int     ffi_arg __attribute__((__mode__(__DI__)));
128
typedef __uint64_t ffi_arg;
129
typedef signed   int     ffi_sarg __attribute__((__mode__(__DI__)));
129
typedef __int64_t ffi_sarg;
130
#endif
130
#endif
131
131
132
typedef enum ffi_abi {
132
typedef enum ffi_abi {
(-)Makefile.pre.in.dist (-1 / +1 lines)
Lines 481-487 Modules/python.o: $(srcdir)/Modules/pyth Link Here
481
481
482
482
483
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
483
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
484
		-@ mkdir Include
484
		-@ mkdir -p Include
485
		-$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
485
		-$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
486
486
487
$(PGEN):	$(PGENOBJS)
487
$(PGEN):	$(PGENOBJS)

Return to bug 260143