9fans archive / 1994 / 05 / 6 /    prev next

From: Scott Schwartz schwartz@gro...
Subject: No subject
Date: Fri, 6 May 1994 22:18:30 -0400

Phil writes:
| However, while the file
| system could be modified to do this it does not seem unreasonable
| to expect the application programmer to print adequate information
| especially with the werrstr library function and %r format.

I agree.  I want to do even better and print (or at least read) messages
that say which component caused the error.  As you say, that requires
the fileservers to follow some convention for communicating the information
back.  I was imagining hacking the print routines to clip off the 
proposed trailing :number and return it in some other % verb, but even 
without that it would be an improvement just to see the raw information.

(I mistakenly used perror in the example before.  I really was thinking 
about the %r format, but my fingers are more used to typing the other.)