Re: LFS problems with regex.h
On Wed, 23 May 2001, Petr Cech wrote:
> The problem is not the size of it on different architectures, but that off_t
> changes depending on LARGE_SOURCE and such. So this breaks when an DSO in my
> case is compiled with LFS and the other one is not.
>
> /usr/include/regex.h says
> /* Type for byte offsets within the string. POSIX mandates this. */
> typedef int regoff_t;
>
> so this should be consistent accross all source code, or StrangeThings(TM)
> will happen (like ereg not working in php3)
Ok, that makes sense. On Alpha, at least, regoff_t is typedef'ed to int
as well. I must've misunderstood the initial message...
C
Reply to: