Ethereal-cvs: [Ethereal-cvs] rev 16942: /trunk/: tethereal.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 04 Jan 2006 03:07:17 GMT
User: guy
Date: 2006/01/03 09:07 PM

Log:
 Distinguish between "writing to the standard output" and "writing to a
 pipe"; there's not much point in writing to the standard output if
 you're *not* writing to a pipe, but....
 
 "-b" doesn't necessarily imply a ring buffer - you can just request that
 Tethereal keep switching files forever.
 
 Standardize on an exit status of 1 for all those errors (there's a
 sort-of convention, adhered to by many apps, that an exit status of 1
 means a command-line argument error (as in "illegal flag" or "you
 combined two flags that don't make sense together") and an exit status
 of 2 is for other "run-time" errors.

Directory: /trunk/
  Changes    Path           Action
  +26 -17    tethereal.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16942&view=rev