[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] closed stderr can make tar corrupt its output archive
From: |
Ralph Corderoy |
Subject: |
Re: [Bug-tar] closed stderr can make tar corrupt its output archive |
Date: |
Sun, 28 Aug 2005 09:06:39 +0100 |
Hi Joerg,
> > The bug is that tar assumed open/creat would never return 2. The
> > patch I supplied shows that this bug in GNU tar can be fixed with
> > minimal effort.
>
> I see nothing in your patch that could change the behavior.
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/gnulib/gnulib/lib/fcntl--.h
#defines open, etc., to be a version that never returns 0, 1, or 2.
Cheers,
Ralph.
Re: [Bug-tar] closed stderr can make tar corrupt its output archive, Sergey Poznyakoff, 2005/08/28