[Bug libc/27258] New: iconv/loop.c is unnecessarily hard to understand

bruno at clisp dot org sourceware-bugzilla@sourceware.org
Wed Jan 27 17:19:20 GMT 2021


https://sourceware.org/bugzilla/show_bug.cgi?id=27258

            Bug ID: 27258
           Summary: iconv/loop.c is unnecessarily hard to understand
           Product: glibc
           Version: 2.32
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: bruno at clisp dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 13165
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13165&action=edit
Proposed patch

The macros for aligned or unaligned access in iconv/loop.c are hard to
understand. In particular, one of the glibc maintainers misunderstood the code.

Find attached a proposed patch for simplification.

Status: untested so far. Please tell me if you want to test it, or I should.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list