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

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

[Dotgnu-pnet-commits] CVS: pnet/engine lib_dir.c,1.6,1.7


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/engine lib_dir.c,1.6,1.7
Date: Tue, 05 Nov 2002 22:55:09 -0500

Update of /cvsroot/dotgnu-pnet/pnet/engine
In directory subversions:/tmp/cvs-serv7101/engine

Modified Files:
        lib_dir.c 
Log Message:


Make the directory scanning routines more opaque and handle
platforms that don't have "d_type".


Index: lib_dir.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_dir.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** lib_dir.c   2 Nov 2002 17:56:31 -0000       1.6
--- lib_dir.c   6 Nov 2002 03:55:06 -0000       1.7
***************
*** 230,235 ****
                }
          
!               buffer->fileName = ILStringCreate(_thread, dirEntry->d_name);
!               buffer->fileType = dirEntry->d_type;
                ILFree(dirEntry);
                buffer++;
--- 230,235 ----
                }
          
!               buffer->fileName = ILStringCreate(_thread, 
ILDirEntName(dirEntry));
!               buffer->fileType = ILDirEntType(dirEntry);
                ILFree(dirEntry);
                buffer++;





reply via email to

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