summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-23 13:28:34 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-23 13:28:34 (GMT)
commit29e7af07f064431e21958bac29638b21c154208a (patch)
treec75e82ab1a52adeee2f524ec3478aa8ba7d13135 /Mac/Modules/macmodule.c
parentbd851cd167008e9f374c717b52bf0ba4be3f26c6 (diff)
downloadcpython-29e7af07f064431e21958bac29638b21c154208a.zip
cpython-29e7af07f064431e21958bac29638b21c154208a.tar.gz
cpython-29e7af07f064431e21958bac29638b21c154208a.tar.bz2
Some more changes
Diffstat (limited to 'Mac/Modules/macmodule.c')
-rw-r--r--Mac/Modules/macmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index b495dfa..13d208c 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -33,12 +33,12 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <stdio.h>
#include <string.h>
#include <errno.h>
+#include <stat.h>
#include <fcntl.h>
#include "macdefs.h"
#include "dirent.h"
-#include "stat.h"
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
@@ -369,7 +369,7 @@ mac_stat(self, args)
return mac_error();
return mkvalue("(llllllllll)",
(long)st.st_mode,
- 0L /* st_ino */,
+ (long)st.st_ito, /* XXX st_ino -- typo in THINK C <stat.h>? */
(long)st.st_dev,
(long)st.st_nlink,
(long)st.st_uid,