[Bug regex/1222] New: regex.h _RE_ARGS removal

eggert at gnu dot org sourceware-bugzilla@sources.redhat.com
Sat Aug 20 07:39:00 GMT 2005


Since glibc and all external uses now assume C89, we should remove the
old-style function declarations from regex.h too.  Note that the glibc 2.3.5
code is not portable to (admittedly weird) C89 hosts where size_t is narrower
than int, since you can't use a function prototype with a size_t argument
and follow that with an old-style function definition with a size_t argument.
So the existing code wasn't portable to all possible C89 hosts anyway.

I'll attach a patch.

-- 
           Summary: regex.h _RE_ARGS removal
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: eggert at gnu dot org
                CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
                    bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1222

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list