Skip to content

mmap offset should be off_t instead of ssize_t, and size calculation needs corrected #48931

@saa

Description

@saa
mannequin
BPO 4681
Nosy @loewis, @pitrou, @vstinner
Files
  • mmap_off_t.patch: Noobie fix for non-Windows
  • mmap_off_t_2.patch: Revised patch that removes fpos_t.
  • mmap.patch
  • mmap_revised.patch
  • 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 2011-02-21.23:59:56.807>
    created_at = <Date 2008-12-17.08:40:08.917>
    labels = ['extension-modules', 'type-bug']
    title = 'mmap offset should be off_t instead of ssize_t, and size calculation needs corrected'
    updated_at = <Date 2011-02-21.23:59:56.805>
    user = 'https://bugs.python.org/saa'

    bugs.python.org fields:

    activity = <Date 2011-02-21.23:59:56.805>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2011-02-21.23:59:56.807>
    closer = 'pitrou'
    components = ['Extension Modules']
    creation = <Date 2008-12-17.08:40:08.917>
    creator = 'saa'
    dependencies = []
    files = ['12375', '12376', '20434', '20722']
    hgrepos = []
    issue_num = 4681
    keywords = ['patch']
    message_count = 23.0
    messages = ['77957', '77958', '77959', '77960', '77961', '77962', '77963', '78055', '78076', '78085', '126454', '128210', '128215', '128236', '128259', '128261', '128274', '128305', '128312', '128313', '128336', '129012', '129014']
    nosy_count = 9.0
    nosy_names = ['loewis', 'pitrou', 'vstinner', 'wrobell', 'nadeem.vawda', 'eckhardt', 'saa', 'rosslagerwall', 'jbeezley']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4681'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions