Author: ambs
Date: Tue Jan 10 12:53:28 2006
New Revision: 11058

Modified:
   trunk/src/classes/os.pmc
Log:
os.pmc - add stat for windows.


Modified: trunk/src/classes/os.pmc
==============================================================================
--- trunk/src/classes/os.pmc    (original)
+++ trunk/src/classes/os.pmc    Tue Jan 10 12:53:28 2006
@@ -189,7 +189,6 @@ Stats a file, and returns a 13 position 
 */
 
     METHOD PMC* stat(STRING *path) {
-#ifndef _MSC_VER
         struct stat info;
         PMC *array;
 
@@ -236,15 +235,11 @@ Stats a file, and returns a 13 position 
 #endif
             return array;
         }
-#else
-        internal_exception(UNIMPLEMENTED, "Win32 is not POSIX. Need win32 
developer!");
-        return NULL;
-#endif
     }
 
 /*
 
-=item C<fixedpmcarray* stat(STRING* path)>
+=item C<fixedpmcarray* lstat(STRING* path)>
 
 Stats a file, and returns a 13 position array as in Perl:
 

Reply via email to