The following reply was made to PR bin/187728; it has been noted by GNATS.
From: Jilles Tjoelker <jilles@stack.nl>
To: bug-followup@FreeBSD.org, ksmakoto@dd.iij4u.or.jp
Cc:
Subject: Re: bin/187728: [patch] bc(1) should print error message to stderr
Date: Sun, 23 Mar 2014 19:20:25 +0100
In PR bin/187728, you wrote:
> bc(1) should prints error message to stderr.
POSIX seems to require this in interactive mode; in non-interactive
mode, invalid input causes undefined behaviour.
Note that the patch changes more than just the destination of the error
message. The code in the repository prints the error message if and when
dc reaches the point of the error, rather than immediately when the
error is detected in the patched version.
Since the patched version is simpler, it seems that the original code
may be deliberately written that way.
--
Jilles Tjoelker
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"