This is the mail archive of the glibc-bugs-regex@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regex/1285] New: regex code should use 'bool' (plus some bug fixes)


The regex code should use the 'bool' datatype when appropriate.
When used inside glibc we can assume bool; when used outside it,
the gnulib stdbool module can be used.

I went through the regex code replacing all instances of 'int'
with 'bool' when appropriate.  In the process, I found a few
bugs (e.g., storage allocation failures not checked for) so
I fixed them as well.  A patch is attached.

-- 
           Summary: regex code should use 'bool' (plus some bug fixes)
           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
 BugsThisDependsOn: 1281


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]