gnu/78161: typo in gzexe

Gael Queri gael at
Sun Feb 27 20:30:15 GMT 2005

>Number:         78161
>Category:       gnu
>Synopsis:       typo in gzexe
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 27 20:30:13 GMT 2005
>Originator:     Gael Queri
>Release:        FreeBSD 5.4-PRERELEASE i386
System: FreeBSD blobby.home 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #2: Sat Feb 26 18:18:41 CET 2005 gael at blobby.home:/usr/src/sys/i386/compile/BLOBBY i386


There is a missing semicolon on line 107 of

    trap '/bin/rm -f $progtmp $gztmp exit $res' 0
                                    ^ there

This could potentially remove files called exit or <some number>.

Hard to reproduce since it's only if the ln fails.

Simply correct the line to:

    trap '/bin/rm -f $progtmp $gztmp; exit $res ' 0


More information about the freebsd-bugs mailing list