[issue18259] Declare sethostname in socketmodule.c for AIX

2013-06-19 Thread Berker Peksag
Changes by Berker Peksag : -- versions: -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue18259] Declare sethostname in socketmodule.c for AIX

2013-06-18 Thread Christian Heimes
Christian Heimes added the comment: Seems to work. I don't have root permission on the box so I can't actually test if the function call succeeds. % ./python Python 3.4.0a0 (default:626a8e49f2a9, Jun 19 2013, 00:19:57) [GCC 4.7.1] on aix7 Type "help", "copyright", "credits" or "license" for m

[issue18259] Declare sethostname in socketmodule.c for AIX

2013-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9f8efcd78d0d by Christian Heimes in branch '3.3': Issue #18259: Declare sethostname in socketmodule.c for AIX http://hg.python.org/cpython/rev/9f8efcd78d0d New changeset 14748397fc57 by Christian Heimes in branch 'default': Issue #18259: Declare set

[issue18259] Declare sethostname in socketmodule.c for AIX

2013-06-18 Thread David Edelsohn
New submission from David Edelsohn: AIX provides sethostname() but it is not declared in any useful header. Fixed as follows: diff -r 626a8e49f2a9 Modules/socketmodule.c --- a/Modules/socketmodule.cTue Jun 18 23:28:18 2013 +0200 +++ b/Modules/socketmodule.cTue Jun 18 20:17:37 2013 -0700