~ubuntu-branches/ubuntu/raring/python3.3/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/statvfs-f_flag-constants.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-22 06:14:01 UTC
  • Revision ID: package-import@ubuntu.com-20120322061401-vvrgvw3nvi68rtqq
Tags: 3.3.0~a1-1
* Python 3.3.0 alpha1 release.
* Update to 20120321 from the trunk.
* Update debian/copyright.
* Build-depend on expat (>= 2.1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Modules/posixmodule.c: Add flags for statvfs.f_flag to constant list.
 
2
 
 
3
From: Peter Jones <pjones@redhat.com>
 
4
Date: Wed, 6 Jan 2010 15:22:38 -0500
 
5
Subject: [PATCH] Add flags for statvfs.f_flag to constant list.
 
6
 
 
7
 Modules/posixmodule.c |   37 +++++++++++++++++++++++++++++++++++++
 
8
 1 files changed, 37 insertions(+), 0 deletions(-)
 
9
 
 
10
--- a/Modules/posixmodule.c
 
11
+++ b/Modules/posixmodule.c
 
12
@@ -8364,6 +8364,43 @@
 
13
     if (ins(d, "ST_NOSUID", (long)ST_NOSUID)) return -1;
 
14
 #endif /* ST_NOSUID */
 
15
 
 
16
+       /* These came from statvfs.h */
 
17
+#ifdef ST_RDONLY
 
18
+       if (ins(d, "ST_RDONLY", (long)ST_RDONLY)) return -1;
 
19
+#endif /* ST_RDONLY */
 
20
+#ifdef ST_NOSUID
 
21
+       if (ins(d, "ST_NOSUID", (long)ST_NOSUID)) return -1;
 
22
+#endif /* ST_NOSUID */
 
23
+
 
24
+       /* GNU extensions */
 
25
+#ifdef ST_NODEV
 
26
+       if (ins(d, "ST_NODEV", (long)ST_NODEV)) return -1;
 
27
+#endif /* ST_NODEV */
 
28
+#ifdef ST_NOEXEC
 
29
+       if (ins(d, "ST_NOEXEC", (long)ST_NOEXEC)) return -1;
 
30
+#endif /* ST_NOEXEC */
 
31
+#ifdef ST_SYNCHRONOUS
 
32
+       if (ins(d, "ST_SYNCHRONOUS", (long)ST_SYNCHRONOUS)) return -1;
 
33
+#endif /* ST_SYNCHRONOUS */
 
34
+#ifdef ST_MANDLOCK
 
35
+       if (ins(d, "ST_MANDLOCK", (long)ST_MANDLOCK)) return -1;
 
36
+#endif /* ST_MANDLOCK */
 
37
+#ifdef ST_WRITE
 
38
+       if (ins(d, "ST_WRITE", (long)ST_WRITE)) return -1;
 
39
+#endif /* ST_WRITE */
 
40
+#ifdef ST_APPEND
 
41
+       if (ins(d, "ST_APPEND", (long)ST_APPEND)) return -1;
 
42
+#endif /* ST_APPEND */
 
43
+#ifdef ST_NOATIME
 
44
+       if (ins(d, "ST_NOATIME", (long)ST_NOATIME)) return -1;
 
45
+#endif /* ST_NOATIME */
 
46
+#ifdef ST_NODIRATIME
 
47
+       if (ins(d, "ST_NODIRATIME", (long)ST_NODIRATIME)) return -1;
 
48
+#endif /* ST_NODIRATIME */
 
49
+#ifdef ST_RELATIME
 
50
+       if (ins(d, "ST_RELATIME", (long)ST_RELATIME)) return -1;
 
51
+#endif /* ST_RELATIME */
 
52
+
 
53
 #ifdef HAVE_SPAWNV
 
54
 #if defined(PYOS_OS2) && defined(PYCC_GCC)
 
55
     if (ins(d, "P_WAIT", (long)P_WAIT)) return -1;