regoff_t : int => ssize_t will be in the next release adding the change with forwards/backwards source/binary compatibility took a little more time it also affected the older but still used strgrpmatch() prototype
On Mon, 7 May 2012 06:32:35 +0200 Irek Szczesniak wrote: > On Mon, May 7, 2012 at 6:17 AM, Glenn Fowler <[email protected]> wrote: > > > > linux and ast <regex.h> have > > typedef int regoff_t; > > this is a binary compatibility problem, not insurrmountable given > > src/lib/libast/features/api => <ast_api.h> > Well, I'd prefer to have the definition of the external API handled > sooner than later, via ast_api.h or otherwise. > > all ast <regex.h> size-ish variables and struct members are [s]ssize_t -- > > good > > some internal ast sizes-ish variables and struct members are [unsigned ] > > int -- not too bad > > it would take a day or so to make sure all int => size_t were uncovered > For now it might be sufficient to have the external API (i.e. > regoff_t, assuming this is really the only issue?!) fixed. Regex > boffins like Olga may protest but let fix this one first and then do > the internal detail digging, please. > Irek _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
