Bug 62326 - man page doesn't specify requirement for (at least) 6 Xs
Summary: man page doesn't specify requirement for (at least) 6 Xs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mktemp
Version: 7.2
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-29 18:20 UTC by Need Real Name
Modified: 2007-04-18 16:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-03-29 18:20:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-03-29 18:20:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020328

Description of problem:
mktemp apparently requires (and only uses) 6 Xs on the filename to create a
temporary file.  Nowhere in the man page does it mention this requirement.  In
fact, the man page implies that 'mktemp fooX' should work if there is no
conflict.  The man page should mention the requirement, or the binary should be
fixed to allow the user to specify fewer Xs.

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


How reproducible:
Always

Steps to Reproduce:
1. cd /tmp
2. mkdir aahatvolunteermatch
3. cd aahatvolunteermatch
4. mktemp fooXXX

Actual Results:  Cannot create temp file fooXXX

Expected Results:  should have created a temp file named 'fooXXX', where X ==
some random alphanumeric

Comment 1 Ngo Than 2002-03-31 10:32:05 UTC
then man page in mktemp-1.5-14 is fixed now. thanks


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