Coda File System

Re: severe Typo in cfs.cc ?

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Wed, 24 Jan 2001 12:12:23 -0500
On Wed, Jan 24, 2001 at 04:17:24PM +0100, Steffen Neumann wrote:
> 
> Hi,
> 
> there seems to be a typo in cfs.cc,
> where intention is to set stderr and stdout 
> to the same filedescriptor. 
> 
> However, stdin is used instead...
> 
> 
> So long,
> Steffen

It definitely looks wrong, I'm just wondering whether removing the dup2
altogether isn't the right fix. I don't see any reason to merge stdout
and stderr. When cfs is used in shell scripts is not that difficult to
merge them using 2>&1 before throwing them into /dev/null.

Jan
Received on 2001-01-24 12:12:30