Logo
Explore Help
Sign In
ada/cpython
0
0
Fork 0
You've already forked cpython
mirror of https://github.com/AdaCore/cpython.git synced 2026-02-12 12:57:15 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
fbcfd52a9ab413fdf4e2ffadde727cd378982de6
cpython/Mac/Python/macgetmtime.c

15 lines
200 B
C
Raw Normal View History

Completed (hopefully) the unification of THINK 6.0 and MPW 3.2 versions -- they now share config.c and config.h, and statting is always done through macstat.[ch] (THINK's <stat.h> defines funny constants). Also the configuration of stdwin is done differently: you have to define USE_STDWIN to the compiler prefix.
1994-08-29 08:42:37 +00:00
#include "macstat.h"
rename2 changes
1995-01-12 12:37:24 +00:00
#include "rename2.h"
Initial revision
1994-01-05 16:17:15 +00:00
/* Interfaced used by import.c */
long
getmtime(path)
char *path;
{
Completed (hopefully) the unification of THINK 6.0 and MPW 3.2 versions -- they now share config.c and config.h, and statting is always done through macstat.[ch] (THINK's <stat.h> defines funny constants). Also the configuration of stdwin is done differently: you have to define USE_STDWIN to the compiler prefix.
1994-08-29 08:42:37 +00:00
struct macstat st;
if (macstat(path, &st) != 0)
Initial revision
1994-01-05 16:17:15 +00:00
return -1L;
return st.st_mtime;
}
Reference in New Issue Copy Permalink
Powered by Gitea Page: 434ms Template: 28ms
English
English
Licenses API