Bug 157874 - mktemp needs '-t' option
Summary: mktemp needs '-t' option
Keywords:
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
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2005-05-17 08:53:47 UTC
Target Upstream Version:
Embargoed:


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):
mktemp-1.5-18

How reproducible:
Always

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

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 Than Ngo 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.