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/1281] support 64-bit hosts when regex code when used outside glibc


------- Additional Comments From eggert at gnu dot org  2005-09-01 22:19 -------
For internal use (in regex_internal.h), I initially started with the
name re_idx_t as you suggested.  But this caused a lot of code
reindenting, since I had to replace "int" by "re_idx_t" in a lot of
places.  Also, the code got more verbose.  Using "Idx" instead of "re_idx_t"
solved that problem.

However, if the consensus is to call it re_idx_t I'd be happy to
produce a new patch that uses the name.

I should mention that this type name is not visible to the user in the
proposed patch.  I was reluctant to introduce the name re_idx_t into
regex.h, because I thought that the user should see just the new
interface, which uses size_t for sizes and offset.  However, if you'd
prefer to make re_idx_t public I can also do that easily.


-- 


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

------- 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]