churchyard / rpms / python3

Forked from rpms/python3 2 years ago
Clone
1c94c1
diff -up Python-3.3.0b1/Modules/posixmodule.c.statvfs-f_flag-constants Python-3.3.0b1/Modules/posixmodule.c
1c94c1
--- Python-3.3.0b1/Modules/posixmodule.c.statvfs-f_flag-constants	2012-06-26 16:19:54.000000000 -0400
1c94c1
+++ Python-3.3.0b1/Modules/posixmodule.c	2012-07-20 13:39:18.595546387 -0400
1c94c1
@@ -11665,6 +11665,35 @@ all_ins(PyObject *d)
1c94c1
     if (ins(d, "ST_NOSUID", (long)ST_NOSUID)) return -1;
1c94c1
 #endif /* ST_NOSUID */
d73e38
 
7eb10c
+    /* GNU extensions */
d73e38
+#ifdef ST_NODEV
7eb10c
+    if (ins(d, "ST_NODEV", (long)ST_NODEV)) return -1;
d73e38
+#endif /* ST_NODEV */
d73e38
+#ifdef ST_NOEXEC
7eb10c
+    if (ins(d, "ST_NOEXEC", (long)ST_NOEXEC)) return -1;
d73e38
+#endif /* ST_NOEXEC */
d73e38
+#ifdef ST_SYNCHRONOUS
7eb10c
+    if (ins(d, "ST_SYNCHRONOUS", (long)ST_SYNCHRONOUS)) return -1;
d73e38
+#endif /* ST_SYNCHRONOUS */
d73e38
+#ifdef ST_MANDLOCK
7eb10c
+    if (ins(d, "ST_MANDLOCK", (long)ST_MANDLOCK)) return -1;
d73e38
+#endif /* ST_MANDLOCK */
d73e38
+#ifdef ST_WRITE
7eb10c
+    if (ins(d, "ST_WRITE", (long)ST_WRITE)) return -1;
d73e38
+#endif /* ST_WRITE */
d73e38
+#ifdef ST_APPEND
7eb10c
+    if (ins(d, "ST_APPEND", (long)ST_APPEND)) return -1;
d73e38
+#endif /* ST_APPEND */
d73e38
+#ifdef ST_NOATIME
7eb10c
+    if (ins(d, "ST_NOATIME", (long)ST_NOATIME)) return -1;
d73e38
+#endif /* ST_NOATIME */
d73e38
+#ifdef ST_NODIRATIME
7eb10c
+    if (ins(d, "ST_NODIRATIME", (long)ST_NODIRATIME)) return -1;
d73e38
+#endif /* ST_NODIRATIME */
d73e38
+#ifdef ST_RELATIME
7eb10c
+    if (ins(d, "ST_RELATIME", (long)ST_RELATIME)) return -1;
d73e38
+#endif /* ST_RELATIME */
d73e38
+
1c94c1
     /* FreeBSD sendfile() constants */
1c94c1
 #ifdef SF_NODISKIO
1c94c1
     if (ins(d, "SF_NODISKIO", (long)SF_NODISKIO)) return -1;