[issue11225] getcwd fix for NetBSD to handle ERANGE errno

2011-02-16 Thread Nicolas Joly

New submission from Nicolas Joly :

NetBSD do require the very same fix from issue 9185, to handle ERANGE errno 
returned when the size argument is greater than zero but smaller
than the length of the pathname plus 1.

Without it, the testsuite do indeed loops indefinitely.

Thanks.

--
components: Interpreter Core
files: python-getcwd.diff
keywords: patch
messages: 128698
nosy: njoly
priority: normal
severity: normal
status: open
title: getcwd fix for NetBSD to handle ERANGE errno
versions: Python 2.7
Added file: http://bugs.python.org/file20773/python-getcwd.diff

___
Python tracker 
<http://bugs.python.org/issue11225>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-12-21 Thread Nicolas Joly

Nicolas Joly  added the comment:

I do not tested it extensively, but seems so.

nj...@petaure [temp/python27]> ./python
Python 2.7.1+ (release27-maint:87432M, Dec 22 2010, 01:10:26) 
[GCC 4.1.3 20080704 prerelease (NetBSD nb2 20081120)] on netbsd5
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'2.7.1+ (release27-maint:87432M, Dec 22 2010, 01:10:26) \n[GCC 4.1.3 20080704 
prerelease (NetBSD nb2 20081120)]'
>>> import os
>>> os.uname()
('NetBSD', 'petaure.lan', '5.99.41', 'NetBSD 5.99.41 (PETAURE) #7: Mon Dec 20 
23:06:49 CET 2010  
nj...@petaure.lan:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/PETAURE', 
'amd64')

--

___
Python tracker 
<http://bugs.python.org/issue10475>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-11-20 Thread Nicolas Joly

New submission from Nicolas Joly :

The configure script do hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD, 
which should be avoided.

[...]
checking for gcc... gcc
checking whether gcc accepts -g... yes
[...]
checking SO... .so
checking LDSHARED... cc -shared 
checking CCSHARED... -fPIC
[...]

--
components: Build
files: python-cc.diff
keywords: patch
messages: 121817
nosy: njoly
priority: normal
severity: normal
status: open
title: hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD
versions: Python 2.7
Added file: http://bugs.python.org/file19719/python-cc.diff

___
Python tracker 
<http://bugs.python.org/issue10475>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com