[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_data.c,1.1,1.2
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_data.c,1.1,1.2 |
Date: |
Thu, 30 Jan 2003 19:36:15 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/ildasm
In directory subversions:/tmp/cvs-serv21792/ildasm
Modified Files:
ildasm_data.c
Log Message:
Deal with a signed vs unsigned lockup bug.
Index: ildasm_data.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ildasm/ildasm_data.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ildasm_data.c 30 Jan 2003 10:57:46 -0000 1.1
--- ildasm_data.c 31 Jan 2003 00:36:13 -0000 1.2
***************
*** 120,132 ****
/* Sort the RVA list into ascending order */
! for(posn = 0; posn < (numFieldRVAs - 1); ++posn)
{
! for(posn2 = posn + 1; posn2 < numFieldRVAs; ++posn2)
{
! if(fieldRVAs[posn] > fieldRVAs[posn2])
{
! temp = fieldRVAs[posn];
! fieldRVAs[posn] = fieldRVAs[posn2];
! fieldRVAs[posn2] = temp;
}
}
--- 120,135 ----
/* Sort the RVA list into ascending order */
! if(numFieldRVAs > 1)
{
! for(posn = 0; posn < (numFieldRVAs - 1); ++posn)
{
! for(posn2 = posn + 1; posn2 < numFieldRVAs; ++posn2)
{
! if(fieldRVAs[posn] > fieldRVAs[posn2])
! {
! temp = fieldRVAs[posn];
! fieldRVAs[posn] = fieldRVAs[posn2];
! fieldRVAs[posn2] = temp;
! }
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_data.c,1.1,1.2,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_data.c,NONE,1.1 Makefile.am,1.5,1.6 ildasm_class.c,1.11,1.12 ildasm_global.c,1.3,1.4ildasm_internal.h,1.5,1.6
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2091,1.2092
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/ildasm ildasm_data.c,NONE,1.1 Makefile.am,1.5,1.6 ildasm_class.c,1.11,1.12 ildasm_global.c,1.3,1.4ildasm_internal.h,1.5,1.6
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.2091,1.2092
- Index(es):