info-cvs
[Top][All Lists]
Advanced

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

Re: cvs exit status


From: Greg A. Woods
Subject: Re: cvs exit status
Date: Wed, 10 Oct 2001 16:45:12 -0400 (EDT)

[ On Wednesday, October 10, 2001 at 10:57:50 (-0700), Paul Sander wrote: ]
> Subject: Re: cvs exit status
>
> Under some error conditions, the exit status gets incremented rather than
> being set to a fixed value.  That means that under those error conditions,
> the exit status varies and may sometimes indicate success (due to overflow)
> if there are a lot of problems.
> 
> So, exit status is not a reliable way to detect problems.  You must parse
> the CVS standard output and standard error streams for relevant messages.

What's wrong with using relational tests?!?!?!?  Don't you do that
anyway just as a matter of careful robust programming?

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>



reply via email to

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