[Patches] Another try at a patch to getmtime

Jack Jansen Jack.Jansen@oratrix.com
Sat, 03 Jun 2000 00:44:03 +0200


This is a multi-part message in MIME format.
--------------3A032EE24BA078F4E288C7F3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Okay, okay....
--------------3A032EE24BA078F4E288C7F3
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="522A6368";
 name="getmtime.diffs-"
Content-Transfer-Encoding: 7bit
Content-Description: Unknown Document
Content-Disposition: inline;
 filename="getmtime.diffs-"

cvs server: Diffing .
Index: getmtime.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Python/getmtime.c,v
retrieving revision 2.9
diff -c -r2.9 getmtime.c
*** getmtime.c	1997/09/05 07:33:15	2.9
--- getmtime.c	2000/06/02 13:34:55
***************
*** 36,43 ****
--- 36,51 ----
  #include "config.h"
  
  #include <stdio.h>
+ #ifndef DONT_HAVE_SYS_TYPES_H
  #include <sys/types.h>
+ #endif
+ #ifndef DONT_HAVE_SYS_STAT_H
  #include <sys/stat.h>
+ #else
+ #ifdef HAVE_STAT_H
+ #include <stat.h>
+ #endif
+ #endif
  
  long
  PyOS_GetLastModificationTime(path, fp)

--------------3A032EE24BA078F4E288C7F3--