This is the mail archive of the libc-alpha@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]

Re: [PATCH] Kill regexp.h


Zack Weinberg <zackw@panix.com> writes:

> Moreover, the code in regexp.h that uses those macros has been buggy
> since its creation (in 1996) and no one has noticed, which indicates
> to me that there are no users.  (Specifically, RETURN() is used in a
> whole bunch of cases where it should have been ERROR().)

Also, it allocates new memory for the compiled regexp, instead of
using the memory that the caller provided for that purpose.
http://bugs.debian.org/517625


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