Thread: entab vs. gcc4 again

entab vs. gcc4 again

From
Marko Kreen
Date:
There was a patch applied against entab/halt.c that converts
it away from K&R varargs.  But it's buggy, its makes halt()
use second argment as format string, not first.

Following patch fixes it, but also converts entab/entab.c away
from K&R.

That is from my own patch against entab for the same
problem, which got lost somewhere in -patches.

--
marko


Attachment

Re: entab vs. gcc4 again

From
Bruce Momjian
Date:
Marko Kreen wrote:
> There was a patch applied against entab/halt.c that converts
> it away from K&R varargs.  But it's buggy, its makes halt()
> use second argment as format string, not first.
>
> Following patch fixes it, but also converts entab/entab.c away
> from K&R.
>
> That is from my own patch against entab for the same
> problem, which got lost somewhere in -patches.

Patch applied with adjustment.  Thanks.  I still had the old version in
patches2 but applied this one.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073