[PATCH] In case module has wrong magic, report exact problem
Started by Marko Kreenover 17 years ago2 messageshackers
In case module and server magic blocks do not match
report exact parameters that differ.
It is quite cumbersome problem to track down unless
user already knows the cause.
As we want to encourage module use, such situations
can happen more often.
Attachments:
better.modload.error.patchtext/plain; charset=utf-8; name=better.modload.error.patchDownload+59-18
Re: [PATCH] In case module has wrong magic, report exact problem
Marko Kreen <markokr@gmail.com> writes:
In case module and server magic blocks do not match
report exact parameters that differ.
Applied with revisions --- your patch produced a message that wasn't
localizable and didn't follow the style guidelines. Also it assumed
that all the fields would be plain integer values, which isn't true
even today.
regards, tom lane