Does anyone else see "make check" segfaulting on the third test?

I think it's because qp is NULL on line 238 in
commands.c:set_file_variables() when processing f1.h, but I'd need to
spend a lot more time looking at the code in there before I understand it.

Paul - if it helps, here's some printf debugging from my trying to figure
it out:

starting set_file_variables
plus_len = 5, f1.h
qmark_len = 5
start: c = >f1.h<
c = >f1.h<
len = 4
cp = >f1.ht<
cp = >t<
cp = ><
! d->changed: qmark_len = 5 len = 4
qmark_len = 0
qmark_len = 0, bar_len = 1
cp isn't NULL
qp is NULL
bp isn't NULL

qp is null because we try to alloca(0) which returns NULL (despite what the
comment at the top of the file says about alloca(0) re-claiming memory).

I'm hoping rc2 is more fun. ;-)

Michael Sterrett
  -Mr. Bones.-
[EMAIL PROTECTED]


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to