Frank Smith wrote:
Well, I stand corrected (and learned something in the process). I
was going to make a comment about this behavior not being adequately
documented, but it looks like it is, although in the dumperapi.txt
file, which I had never looked at. There is a mention of the '?' in
using.txt but it doesn't explain '|' (normal) vs, '?' (strange) vs. '&'
(error) as the dumperapi.txt does.
Actually, I looked at the code, the in the code both the 'error'
and 'strange' are flagged with '?'. There is no '&' character.
At least, that's what the 2.4.5 sources have:
client-src/sendbackup.c:
757 switch(rp->typ) {
758 case DMP_NORMAL:
759 type = "normal";
760 startchr = '|';
761 break;
762 case DMP_STRANGE:
763 type = "strange";
764 startchr = '?';
765 break;
766 case DMP_SIZE:
767 type = "size";
768 startchr = '|';
769 break;
770 case DMP_ERROR:
771 type = "error";
772 startchr = '?';
773 break;
774 default:
775 /*
776 * Should never get here.
777 */
778 type = "unknown";
779 startchr = '!';
780 break;
781 }
782 dbprintf(("%s: %3d: %7s(%c): %s\n",
783 debug_prefix_time(NULL),
784 rp->srcline,
785 type,
786 startchr,
787 str));
788 fprintf(stderr, "%c %s\n", startchr, str);
If the explanation hasn't been included in the general use docs yet
(I'm looking at a 2.4.5 source tree), it should be.
Indeed. And change the dumperapi.txt or change the source so
that they both do/say the same.
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|