Subject: and standards
To: None <>
From: None <>
List: current-users
Date: 12/07/1998 19:34:56
Tracking down a problem with the regex library I found
a line in <regex.h> which is at least questionable:
typedef off_t regoff_t;

This is an array index, it should be a size_t. Using off_t
shouldn't break anything, but implies some overhead on
32-bit platforms.
Or are there standards issues?

I see that changing it breaks binary compatibility,
so how about
#ifdef __LIBC12_SOURCE__
typedef off_t regoff_t;
typedef size_t regoff_t;

best regards