1250 + 0, /* tp_dictoffset */ |
1251 + 0, /* tp_dictoffset */ |
1251 + (initproc)Userattr_init, /* tp_init */ |
1252 + (initproc)Userattr_init, /* tp_init */ |
1252 + 0, /* tp_alloc */ |
1253 + 0, /* tp_alloc */ |
1253 + Userattr_new, /* tp_new */ |
1254 + Userattr_new, /* tp_new */ |
1254 +}; |
1255 +}; |
1255 diff --git Python-2.6.4/setup.py Python-2.6.4/setup.py |
1256 --- Python-2.7.8/setup.py.~4~ 2014-07-17 20:44:54.016102084 -0700 |
1256 --- Python-2.6.4/setup.py |
1257 +++ Python-2.7.8/setup.py 2014-07-17 20:44:54.040843123 -0700 |
1257 +++ Python-2.6.4/setup.py |
1258 @@ -1555,6 +1555,22 @@ |
1258 @@ -1290,6 +1290,22 @@ |
|
1259 exts.append( Extension('dlpi', ['dlpimodule.c'], |
1259 exts.append( Extension('dlpi', ['dlpimodule.c'], |
1260 libraries = ['dlpi']) ) |
1260 libraries = ['dlpi']) ) |
1261 |
1261 |
1262 + # privileges module (Solaris) |
1262 + # privileges module (Solaris) |
1263 + priv_inc = find_file('priv.h', [], inc_dirs) |
1263 + priv_inc = find_file('priv.h', [], inc_dirs) |
1276 + libraries = ['nsl', 'socket', 'secdb']) ) |
1276 + libraries = ['nsl', 'socket', 'secdb']) ) |
1277 + |
1277 + |
1278 # Thomas Heller's _ctypes module |
1278 # Thomas Heller's _ctypes module |
1279 self.detect_ctypes(inc_dirs, lib_dirs) |
1279 self.detect_ctypes(inc_dirs, lib_dirs) |
1280 |
1280 |
1281 diff --git Python-2.6.4/Lib/test/privrbac.py Python-2.6.4/Lib/test/privrbac.py |
|
1282 new file mode 100644 |
|
1283 --- /dev/null 2011-02-12 03:13:57.000000000 -0600 |
1281 --- /dev/null 2011-02-12 03:13:57.000000000 -0600 |
1284 +++ Python-2.6.4/Lib/test/privrbactest.py 2011-01-20 13:52:42.862305331 -0600 |
1282 +++ Python-2.6.4/Lib/test/privrbactest.py 2011-01-20 13:52:42.862305331 -0600 |
1285 @@ -0,0 +1,289 @@ |
1283 @@ -0,0 +1,289 @@ |
1286 +#!/usr/bin/python2.6 |
1284 +#!/usr/bin/python2.7 |
1287 +# |
1285 +# |
1288 +# CDDL HEADER START |
1286 +# CDDL HEADER START |
1289 +# |
1287 +# |
1290 +# The contents of this file are subject to the terms of the |
1288 +# The contents of this file are subject to the terms of the |
1291 +# Common Development and Distribution License (the "License"). |
1289 +# Common Development and Distribution License (the "License"). |