Skip to content

getcwd fix for NetBSD to handle ERANGE errno #55434

Closed

Description

@njoly
mannequin
BPO 11225
Superseder
  • bpo-15765: test_getcwd_long_pathnames (in test_posix) kills NetBSD
  • Files
  • python-getcwd.diff: Fix getcwd on NetBSD to handle ERANGE errno
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2012-08-24.18:07:15.564>
    created_at = <Date 2011-02-16.22:17:59.633>
    labels = ['interpreter-core']
    title = 'getcwd fix for NetBSD to handle ERANGE errno'
    updated_at = <Date 2012-08-24.18:07:15.563>
    user = 'https://bugs.python.org/njoly'

    bugs.python.org fields:

    activity = <Date 2012-08-24.18:07:15.563>
    actor = 'neologix'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-08-24.18:07:15.564>
    closer = 'neologix'
    components = ['Interpreter Core']
    creation = <Date 2011-02-16.22:17:59.633>
    creator = 'njoly'
    dependencies = []
    files = ['20773']
    hgrepos = []
    issue_num = 11225
    keywords = ['patch']
    message_count = 1.0
    messages = ['128698']
    nosy_count = 1.0
    nosy_names = ['njoly']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '15765'
    type = None
    url = 'https://bugs.python.org/issue11225'
    versions = ['Python 2.7']

    Activity

    1. njoly commented on Feb 16, 2011

      njolymannequin
      MannequinAuthor

      NetBSD do require the very same fix from bpo-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.

    2. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions