dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/csupport Complex.cs,1.1,1.2 Crt0.cs,


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/csupport Complex.cs,1.1,1.2 Crt0.cs,1.1,1.2 FileTable.cs,1.1,1.2 LongDouble.cs,1.1,1.2
Date: Sun, 08 Dec 2002 23:52:58 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/csupport
In directory subversions:/tmp/cvs-serv17944/csupport

Modified Files:
        Complex.cs Crt0.cs FileTable.cs LongDouble.cs 
Log Message:


Fix some pedantic issues turned up by csc.


Index: Complex.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/csupport/Complex.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Complex.cs  8 Dec 2002 03:45:02 -0000       1.1
--- Complex.cs  9 Dec 2002 04:52:56 -0000       1.2
***************
*** 214,217 ****
--- 214,219 ----
  } // struct DoubleImaginary
  
+ #if __CSCC__
+ 
  [StructLayout(LayoutKind.Sequential)]
  [CName("long double _Complex")]
***************
*** 324,327 ****
--- 326,331 ----
  
  } // struct LongDoubleImaginary
+ 
+ #endif // __CSCC__
  
  } // namespace OpenSystem.C

Index: Crt0.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/csupport/Crt0.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Crt0.cs     8 Dec 2002 03:45:02 -0000       1.1
--- Crt0.cs     9 Dec 2002 04:52:56 -0000       1.2
***************
*** 306,313 ****
                                if(mainModule != null)
                                {
!                                       MethodInfo method = 
mainModule.GetMethod(".init");
!                                       if(method != null)
                                        {
!                                               method.Invoke(null, null);
                                        }
                                }
--- 306,313 ----
                                if(mainModule != null)
                                {
!                                       MethodInfo initMethod = 
mainModule.GetMethod(".init");
!                                       if(initMethod != null)
                                        {
!                                               initMethod.Invoke(null, null);
                                        }
                                }
***************
*** 316,321 ****
                                if(mainModule != null)
                                {
!                                       MethodInfo method = 
mainModule.GetMethod(".fini");
!                                       if(method != null)
                                        {
                                                // TODO
--- 316,321 ----
                                if(mainModule != null)
                                {
!                                       MethodInfo finiMethod = 
mainModule.GetMethod(".fini");
!                                       if(finiMethod != null)
                                        {
                                                // TODO

Index: FileTable.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/csupport/FileTable.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** FileTable.cs        8 Dec 2002 03:45:02 -0000       1.1
--- FileTable.cs        9 Dec 2002 04:52:56 -0000       1.2
***************
*** 125,128 ****
--- 125,129 ----
                                                else
                                                {
+                                                       buffer = null;
                                                        return null;
                                                }
***************
*** 130,133 ****
--- 131,135 ----
                                        else
                                        {
+                                               buffer = null;
                                                return null;
                                        }

Index: LongDouble.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/csupport/LongDouble.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** LongDouble.cs       8 Dec 2002 03:45:02 -0000       1.1
--- LongDouble.cs       9 Dec 2002 04:52:56 -0000       1.2
***************
*** 23,26 ****
--- 23,28 ----
  {
  
+ #if __CSCC__
+ 
  using System;
  using System.Runtime.InteropServices;
***************
*** 45,48 ****
--- 47,52 ----
  
  } // struct LongDouble
+ 
+ #endif // __CSCC__
  
  } // namespace OpenSystem.C




reply via email to

[Prev in Thread] Current Thread [Next in Thread]