[Python-checkins] CVS: python/dist/src/Objects fileobject.c,2.113,2.114 intobject.c,2.58,2.59
Fred L. Drake
fdrake@users.sourceforge.net
Thu, 19 Jul 2001 14:49:40 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Modules pcremodule.c,2.27,2.28 selectmodule.c,2.52,2.53 signalmodule.c,2.58,2.59 xreadlinesmodule.c,1.6,1.7
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_repr.py,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv21682
Modified Files:
fileobject.c intobject.c
Log Message:
Kill more warnings from the SGI compiler.
Part of SF patch #434992.
Index: fileobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/fileobject.c,v
retrieving revision 2.113
retrieving revision 2.114
diff -C2 -r2.113 -r2.114
*** fileobject.c 2001/05/22 16:48:37 2.113
--- fileobject.c 2001/07/19 21:49:38 2.114
***************
*** 474,478 ****
{
#ifdef HAVE_FSTAT
! long pos, end;
struct stat st;
if (fstat(fileno(f->f_fp), &st) == 0) {
--- 474,478 ----
{
#ifdef HAVE_FSTAT
! off_t pos, end;
struct stat st;
if (fstat(fileno(f->f_fp), &st) == 0) {
Index: intobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/intobject.c,v
retrieving revision 2.58
retrieving revision 2.59
diff -C2 -r2.58 -r2.59
*** intobject.c 2001/07/12 11:19:45 2.58
--- intobject.c 2001/07/19 21:49:38 2.59
***************
*** 646,650 ****
return PyInt_FromLong(0L);
}
! a = (unsigned long)a << b;
return PyInt_FromLong(a);
}
--- 646,650 ----
return PyInt_FromLong(0L);
}
! a = (long)((unsigned long)a << b);
return PyInt_FromLong(a);
}
- Previous message: [Python-checkins] CVS: python/dist/src/Modules pcremodule.c,2.27,2.28 selectmodule.c,2.52,2.53 signalmodule.c,2.58,2.59 xreadlinesmodule.c,1.6,1.7
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_repr.py,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]