This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Edward.Pilatowicz
Recipients Edward.Pilatowicz, loewis
Date 2010-06-03.22:25:00
SpamBayes Score 0.000100973
Marked as misclassified No
Message-id <1275603902.54.0.546688610953.issue8882@psf.upfronthosting.co.za>
In-reply-to
Content
so i wrote a simple test program that tells me the defined length of
sun_path and then uses bind() with increasingly long paths to determine
the actually supported length of sun_path.  here's what i've found:

Solaris:
    defined sun_path = 108
    max sun_path = 1024

FreeBSD 8.0:
    defined sun_path = 104
    max sun_path = 254

Fedora 11:
    defined sun_path = 108
    max sun_path = 108

i have requested access to an AIX system to check what length of
sun_path is defined and supported there.

while i could request that this value be changed in the OS, that would 
likely cause problems with pre-existing compiled code.  i'm guessing
that most OS vendors would not be eager to update this value, which is
probably why it's been the same small value for such a long time.
History
Date User Action Args
2010-06-03 22:25:02Edward.Pilatowiczsetrecipients: + Edward.Pilatowicz, loewis
2010-06-03 22:25:02Edward.Pilatowiczsetmessageid: <1275603902.54.0.546688610953.issue8882@psf.upfronthosting.co.za>
2010-06-03 22:25:01Edward.Pilatowiczlinkissue8882 messages
2010-06-03 22:25:00Edward.Pilatowiczcreate