On Monday 27 October 2008 11:48:00, Pedro Alves wrote: > Ok, I think that makes for: one "funny we don't do it", one "got mildly > tickled by the inconsistency, although doesn't care that much, but > wrote the patch anyway", one "non-silent don't care", a bunch of > silent don't care's, and one "it's useful". > > I believe that's a positive balance. :-) > > Checked in. > Grrrrr, things are never that simple... Somehow, I missed rebuilding this file (.y.c doesn't depend on Makefile.in), so I missed this breakage: cp-name-parser.c.tmp: In function 'cpname_parse': cp-name-parser.c.tmp:1990: warning: implicit declaration of function 'xfree' The fix is to include "defs.h" instead of "config.h" directly, as the other .y files do. While doing that, I hit the fact that there's an external parse_escape function in utils.c, declared in defs.h that now colides with the static cp-name-parse.y:parse_escape. They're mostly the same, but this file it also buildable as a standalone program, so I just renamed the one in cp-name-parser.y. The xfree issue is described in the patch itself. Phew, hope the attached (already commited) settles it. I made sure that `make test-cp-name-parser' still links the standalone test program. -- Pedro Alves