entab vs. gcc4 again

Started by Marko Kreenabout 21 years ago2 messagespatches
Jump to latest
#1Marko Kreen
markokr@gmail.com

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

Attachments:

entab2.difftext/plain; charset=us-asciiDownload+12-12
#2Bruce Momjian
bruce@momjian.us
In reply to: Marko Kreen (#1)
Re: entab vs. gcc4 again

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