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

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

[Dotgnu-pnet-commits] CVS: pnet/image link.c,1.25,1.26


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/image link.c,1.25,1.26
Date: Thu, 24 Jul 2003 03:40:52 -0400

Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv3157/image

Modified Files:
        link.c 
Log Message:


If we cannot find an assembly with the suffix ".dll", try again with ".DLL".


Index: link.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/link.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** link.c      16 Jun 2003 00:43:23 -0000      1.25
--- link.c      24 Jul 2003 07:40:49 -0000      1.26
***************
*** 285,288 ****
--- 285,298 ----
        }
  
+       /* If the suffix is ".dll", then try again with ".DLL" */
+       if(suffix && !strcmp(suffix, ".dll"))
+       {
+               strcpy(path + posn - 3, "DLL");
+               if(ILFileExists(path, 0))
+               {
+                       return path;
+               }
+       }
+ 
        /* Not found */
        ILFree(path);





reply via email to

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