[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: assert message linefeed
- From: "John Belmonte" <jvb@...>
- Date: Mon, 16 Apr 2001 10:42:34 +0900
Edgar Toernig wrote:
> IMHO your assumption that _ALERT is a suitable _ERRORMESSAGE function is
> wrong. All error msgs (including assert msgs) have no trailing '\n'.
> Try issuing a normal error("foo") - it will be printed _wrong_, too.
I see. From just reading the manual it sounded like _ERRORMESSAGE defaulted
to _ALERT, but looking at the code clearly all 3 implementations of
_ERRORMESSAGE append a linefeed to the message.