On 09/09/2010 05:24 PM, Bruno Haible wrote:
This would make no sense to me.

I know, I'm trying to be pragmatic. I prefer a gigabyte-crippled grep than a feature-crippled grep.

It would be better to push the glibc people so that they 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.

The glibc bug at http://sourceware.org/bugzilla/show_bug.cgi?id=5945 says "This is known but obviously cannot easily be fixed. Suspended until somebody takes this serious to actually take a stab at a solution".

I guess that counts as "patches are welcome". :)

Paolo

Reply via email to