bin/85712: uncompress(1) program emits bogus "overwrite?" prompt

Gary W. Swearingen garys at FreeBSD.org
Sun Sep 4 09:50:23 PDT 2005


>Number:         85712
>Category:       bin
>Synopsis:       uncompress(1) program emits bogus "overwrite?" prompt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 04 16:50:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
none
>Environment:
n/a
>Description:

The uncompress(1) program, when given a filename without a .Z
extension, prompts the user for confirmation and if given "y", it then
ignores the reply and then complains about the missing .Z extension.

This PR should be suspended immediately for the "lack of resources"
reason, because it is an unimportant bug that only wastes a little
users' time.

>How-To-Repeat:
n/a

$ d yy*
1060967 -rw-r-----  1 jojo  jojo  - 11135 Sep  4 08:22:04 2005 yyy
$ uncompress yyy
overwrite yyy? y
uncompress: yyy.Z: No such file or directory
$ d yy*
1060967 -rw-r-----  1 jojo  jojo  - 11135 Sep  4 08:22:04 2005 yyy

>Fix:

Make the program abort with complaint if a filename doesn't have
a .Z extension. (Either reject only bad filenames or whole command.)
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list