[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/support dir.c,1.8,1.9
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/support dir.c,1.8,1.9 |
Date: |
Sun, 15 Dec 2002 20:32:32 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv19922/support
Modified Files:
dir.c
Log Message:
Shift the system-specific parts of "DirMethods.GetPathInfo"
into the "support" directory.
Index: dir.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/dir.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** dir.c 13 Dec 2002 11:24:47 -0000 1.8
--- dir.c 16 Dec 2002 01:32:30 -0000 1.9
***************
*** 386,389 ****
--- 386,412 ----
#endif /* USE_WIN32_FIND */
+ void ILGetPathInfo(ILPathInfo *info)
+ {
+ #if defined(IL_WIN32_NATIVE)
+ info->dirSep = '\\';
+ info->altDirSep = '/';
+ info->volumeSep = ':';
+ info->pathSep = ';';
+ info->invalidPathChars = "\"<>|\r\n";
+ #elif defined(IL_WIN32_CYGWIN)
+ info->dirSep = '/';
+ info->altDirSep = '\\';
+ info->volumeSep = 0;
+ info->pathSep = ':';
+ info->invalidPathChars = "\"<>|\r\n";
+ #else
+ info->dirSep = '/';
+ info->altDirSep = 0;
+ info->volumeSep = 0;
+ info->pathSep = ':';
+ info->invalidPathChars = "\r\n";
+ #endif
+ }
+
#ifdef __cplusplus
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/support dir.c,1.8,1.9,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/support path.c,NONE,1.1 Makefile.am,1.43,1.44
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.1992,1.1993
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/support path.c,NONE,1.1 Makefile.am,1.43,1.44
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet ChangeLog,1.1992,1.1993
- Index(es):