This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug regex/5945] regoff_t wrong has posix type
- From: "bonzini at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Sep 2010 15:44:42 -0000
- Subject: [Bug regex/5945] regoff_t wrong has posix type
- References: <20080316140107.5945.vik@forgottenroots.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From bonzini at gnu dot org 2010-09-09 15:44 -------
On bug-gnulib, the following suggestion was made by Bruno Haible:
> [glibc could] offer some preprocessor macro that makes regoff_t 64-bit wide -
> like it was done for off_t.
>
> Would glibc need to export additional symbols for this? Yes.
>
> Would a compiled glibc need to contain two copies of the regex code? No, the
> 32-bit version could be a thin wrapper around the 64-bit version.
I guess this would count as "somebody takes this serious to actually take a stab
at a solution". Would _REGEX_OFFSET_BITS be okay for you as a macro?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5945
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.