~ubuntu-branches/ubuntu/natty/python2.6/natty-security

« back to all changes in this revision

Viewing changes to Lib/plat-linux2/DLFCN.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-07-02 10:54:17 UTC
  • mfrom: (10.1.21 sid)
  • Revision ID: james.westby@ubuntu.com-20100702105417-3a70t966vh62djgg
Tags: 2.6.5+20100628-2ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Priority for python2.6-minimal is required instead of optional
  - python2.6-minimal and python2.6 Conflict python-central
    (<< 0.6.11ubuntu6)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
__FAVOR_BSD = 1
8
8
_ISOC99_SOURCE = 1
9
9
_POSIX_SOURCE = 1
10
 
_POSIX_C_SOURCE = 199506L
11
 
_XOPEN_SOURCE = 600
 
10
_POSIX_C_SOURCE = 200809L
 
11
_XOPEN_SOURCE = 700
12
12
_XOPEN_SOURCE_EXTENDED = 1
13
13
_LARGEFILE64_SOURCE = 1
14
14
_BSD_SOURCE = 1
15
15
_SVID_SOURCE = 1
 
16
_ATFILE_SOURCE = 1
16
17
_BSD_SOURCE = 1
17
18
_SVID_SOURCE = 1
18
19
__USE_ISOC99 = 1
 
20
__USE_ISOC95 = 1
19
21
_POSIX_SOURCE = 1
20
22
_POSIX_C_SOURCE = 2
21
23
_POSIX_C_SOURCE = 199506L
 
24
_POSIX_C_SOURCE = 200112L
 
25
_POSIX_C_SOURCE = 200809L
 
26
__USE_POSIX_IMPLICITLY = 1
22
27
__USE_POSIX = 1
23
28
__USE_POSIX2 = 1
24
29
__USE_POSIX199309 = 1
25
30
__USE_POSIX199506 = 1
 
31
__USE_XOPEN2K = 1
 
32
__USE_ISOC99 = 1
 
33
__USE_XOPEN2K8 = 1
 
34
_ATFILE_SOURCE = 1
26
35
__USE_XOPEN = 1
27
36
__USE_XOPEN_EXTENDED = 1
28
37
__USE_UNIX98 = 1
29
38
_LARGEFILE_SOURCE = 1
 
39
__USE_XOPEN2K8 = 1
30
40
__USE_XOPEN2K = 1
31
41
__USE_ISOC99 = 1
32
42
__USE_XOPEN_EXTENDED = 1
36
46
__USE_MISC = 1
37
47
__USE_BSD = 1
38
48
__USE_SVID = 1
 
49
__USE_ATFILE = 1
39
50
__USE_GNU = 1
40
51
__USE_REENTRANT = 1
 
52
__USE_FORTIFY_LEVEL = 2
 
53
__USE_FORTIFY_LEVEL = 1
 
54
__USE_FORTIFY_LEVEL = 0
 
55
 
 
56
# Included from bits/predefs.h
41
57
__STDC_IEC_559__ = 1
42
58
__STDC_IEC_559_COMPLEX__ = 1
43
59
__STDC_ISO_10646__ = 200009L
44
60
__GNU_LIBRARY__ = 6
45
61
__GLIBC__ = 2
46
 
__GLIBC_MINOR__ = 2
 
62
__GLIBC_MINOR__ = 11
 
63
__GLIBC_HAVE_LONG_LONG = 1
47
64
 
48
65
# Included from sys/cdefs.h
49
66
_SYS_CDEFS_H = 1
50
 
def __PMT(args): return args
 
67
def __NTH(fct): return fct
 
68
 
 
69
def __NTH(fct): return fct
51
70
 
52
71
def __P(args): return args
53
72
 
55
74
 
56
75
def __STRING(x): return #x
57
76
 
 
77
def __bos(ptr): return __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
 
78
 
 
79
def __bos0(ptr): return __builtin_object_size (ptr, 0)
 
80
 
 
81
def __warnattr(msg): return __attribute__((__warning__ (msg)))
 
82
 
58
83
__flexarr = []
59
84
__flexarr = [0]
60
85
__flexarr = []
61
86
__flexarr = [1]
62
87
def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
63
88
 
64
 
def __attribute__(xyz): return
 
89
def __attribute__(xyz): return  
65
90
 
66
91
def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x)))
67
92
 
68
 
def __attribute_format_arg__(x): return
 
93
def __attribute_format_arg__(x): return  
 
94
 
 
95
 
 
96
# Included from bits/wordsize.h
 
97
__WORDSIZE = 64
 
98
__WORDSIZE_COMPAT32 = 1
 
99
__WORDSIZE = 32
 
100
__LDBL_COMPAT = 1
 
101
def __LDBL_REDIR_DECL(name): return \
69
102
 
70
103
__USE_LARGEFILE = 1
71
104
__USE_LARGEFILE64 = 1
72
105
__USE_EXTERN_INLINES = 1
 
106
__USE_EXTERN_INLINES_IN_LIBC = 1
73
107
 
74
108
# Included from gnu/stubs.h
75
109
 
78
112
RTLD_NOW = 0x00002
79
113
RTLD_BINDING_MASK = 0x3
80
114
RTLD_NOLOAD = 0x00004
 
115
RTLD_DEEPBIND = 0x00008
81
116
RTLD_GLOBAL = 0x00100
82
117
RTLD_LOCAL = 0
83
118
RTLD_NODELETE = 0x01000
 
119
LM_ID_BASE = 0
 
120
LM_ID_NEWLM = -1