Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 157874 - mktemp needs '-t' option
Summary: mktemp needs '-t' option
Status: CLOSED DUPLICATE of bug 133416
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: mktemp
Version: 3.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Ngo Than
QA Contact: Mike McLean
Depends On:
TreeView+ depends on / blocked
Reported: 2005-05-16 17:17 UTC by Michael J. Carter
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-05-17 08:53:47 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Michael J. Carter 2005-05-16 17:17:18 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Description of problem:
pnmindex and pnmmargin both call mktemp with the -t option:

carter@willamette$ grep mktemp pnm*
pnmindex:tmpdir=$(mktemp -d -t pi.XXXXXXXX) || exit 1 #219019
pnmmargin:tmpdir=$(mktemp -d -t ppmmargin.XXXXXXX) || exit 1 #219019

but mktemp doesn't accept that option.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. cp /usr/share/apps/kspaceduel/sprites/explosion/explos00.pbm /tmp
2. pnmmargin -white 10 /tmp/explos00.pbm

Actual Results:  carter@willamette$ pnmmargin -white 10 /tmp/explos00.pbm
mktemp: invalid option -- t
Usage: mktemp [-d] [-q] [-u] template

Expected Results:  pnmmargin should execute without error.

Additional info:

Comment 1 Ngo Than 2005-05-17 08:53:47 UTC

*** This bug has been marked as a duplicate of 133416 ***

Note You need to log in before you can comment on or make changes to this bug.