summaryrefslogtreecommitdiff
path: root/tree234.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2012-08-29 18:13:11 +0000
committerSimon Tatham <anakin@pobox.com>2012-08-29 18:13:11 +0000
commit1489dc15967970576d08f3f2b22c6e1c939bcbcf (patch)
tree0b27653cc4d5485e273edbf5e8ade37b26b6b44c /tree234.c
parent17fc8b40eb9b3f03945512bf17be99332aeefecb (diff)
downloadhalibut-1489dc15967970576d08f3f2b22c6e1c939bcbcf.zip
halibut-1489dc15967970576d08f3f2b22c6e1c939bcbcf.tar.gz
halibut-1489dc15967970576d08f3f2b22c6e1c939bcbcf.tar.bz2
halibut-1489dc15967970576d08f3f2b22c6e1c939bcbcf.tar.xz
Revamp of the Halibut error handling mechanism.
I'm not quite sure why I ever thought it was a good idea to have a central variadic error() function taking an integer error code followed by some list of arguments that depend on that code. It now seems obvious to me that it's a much more sensible idea to have a separate function per error, so that we can check at compile time that the arguments to each error call are of the right number and type! So I've done that instead. A side effect is that the errors are no longer formatted into a fixed-size buffer before going to stderr, so I can remove all the %.200s precautions in the format strings. [originally from svn r9639]
Diffstat (limited to 'tree234.c')
0 files changed, 0 insertions, 0 deletions