From: Ben Pfaff Date: Tue, 25 Apr 2006 20:27:17 +0000 (+0000) Subject: Add README explaining not to use msg() here. X-Git-Tag: v0.6.0~946 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a090a71726f7a381b3969edae3c5afca8524bd85;p=pspp-builds.git Add README explaining not to use msg() here. --- diff --git a/src/output/README b/src/output/README new file mode 100644 index 00000000..ad68d533 --- /dev/null +++ b/src/output/README @@ -0,0 +1,5 @@ +The source code in this directory must not call msg() to report +errors. This can lead to reentrance in the output driver, because +msg() may report error messages using the output driver. Instead, +this code should report errors with error(), which will never call +into the output drivers.