info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cvs_output() and error()


From: Larry Jones
Subject: Re: cvs_output() and error()
Date: Tue, 16 Dec 2003 16:29:45 -0500 (EST)

Brice Oliver writes:
> 
> What's the difference between using cvs_output() and error() for sending
> messages back to the client?

Use the source, Luke.

error is a wrapper around cvs_outerr (not cvs_output) that prepends the
program name and subcommand information to the message and provides some
printf-like formating for variable substitution.  cvs_output and
cvs_outerr are lower-level routines that simply send a buffer to stdout
or stderr respectively.

> Which method is used for sending message that pertain to "operation
> completed successfully"?

Yes.

> Are all of the messages that use either cvs_output() or error() always be
> sent back to the client, or are some of those messages trapped internally by
> the cvs server?

All output is sent back to the client.

-Larry Jones

Things are never quite as scary when you've got a best friend. -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]