[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnet/image link.c,1.27,1.28
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnet/image link.c,1.27,1.28 |
Date: |
Fri, 07 Nov 2003 03:48:40 +0000 |
Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv25143/image
Modified Files:
link.c
Log Message:
ILPInvokeResolveModule: allow relative paths of the form "X/Y/Z"
to be used for PInvoke module names (bug #5413).
Index: link.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/link.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** link.c 28 Aug 2003 07:10:13 -0000 1.27
--- link.c 7 Nov 2003 03:48:38 -0000 1.28
***************
*** 973,984 ****
}
! /* If the name already includes a directory specification,
then assume that this is the path we are looking for */
! for(posn = 0; posn < namelen; ++posn)
{
! if(name[posn] == '/' || name[posn] == '\\')
! {
! return ILDupNString(name, namelen);
! }
}
--- 973,985 ----
}
! /* If the name already includes a root directory specification,
then assume that this is the path we are looking for */
! if(namelen > 0 && (name[0] == '/' || name[0] == '\\'))
{
! return ILDupNString(name, namelen);
! }
! else if(namelen > 1 && name[1] == ':')
! {
! return ILDupNString(name, namelen);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnet/image link.c,1.27,1.28,
Rhys Weatherley <address@hidden> <=