[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-bugs
Subject: user/4310: tar -x returns 0 on open() failure
From: jimmy () inet-solutions ! be
Date: 2005-07-28 20:13:18
Message-ID: 200507282013.j6SKDIt1008253 () ada ! devbox ! be
[Download RAW message or body]
>Number: 4310
>Category: user
>Synopsis: tar -x returns 0 on open() failure
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 28 20:40:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jimmy Scott
>Release: OPENBSD_3_7
>Organization:
net
>Environment:
System : OpenBSD 3.7
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
Extracting an archive that does not exist returns 0 upon
program exit, this causes makefiles to continue etc.
>How-To-Repeat:
tar -xf /does_not_exist && echo OK
>Fix:
The error get cought by (int)ar_open() in (void)list(),
but list() just returns without action.
>Release-Note:
>Audit-Trail:
>Unformatted:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic