GNU bug report logs - #29807
mktemp documentation does not clearly document the use of TMPDIR

Previous Next

Package: coreutils;

Reported by: Martin Schwenke <martin <at> meltin.net>

Date: Fri, 22 Dec 2017 03:47:02 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29807 in the body.
You can then email your comments to 29807 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#29807; Package coreutils. (Fri, 22 Dec 2017 03:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Schwenke <martin <at> meltin.net>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 22 Dec 2017 03:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Martin Schwenke <martin <at> meltin.net>
To: bug-coreutils <at> gnu.org
Subject: mktemp documentation does not clearly document the use of TMPDIR
Date: Fri, 22 Dec 2017 14:42:44 +1100
Looking at the source code of mktemp suggests that it generally
uses the TMPDIR environment variable to specify an alternative to /tmp
when options such -p and -t are not given.

However, the documentation only mentions TMPDIR in the context of the -p
and -t options.  The info page has an example that seems to imply the
general use of of TMPDIR but that is as far as it goes. 

I think there should be an "ENVIRONMENT VARIABLES" section that lists
TMPDIR and explains how it is used.

I would supply a patch but I don't understand enough texinfo to be
able to figure out how to do this in doc/coreutils.texi.  :-(

peace & happiness,
martin




Information forwarded to bug-coreutils <at> gnu.org:
bug#29807; Package coreutils. (Fri, 22 Dec 2017 04:58:02 GMT) Full text and rfc822 format available.

Message #8 received at 29807 <at> debbugs.gnu.org (full text, mbox):

From: Martin Schwenke <martin <at> meltin.net>
To: 29807 <at> debbugs.gnu.org
Subject: Probably ignore this bug report  ;-)
Date: Fri, 22 Dec 2017 15:45:33 +1100
After reading the documentation again, I realise that it is actually
complete (i.e. no arguments implies --tmpdir).

I would, however, regard the documentation to be structured in a way
that makes it hard to find the information about TMPDIR.  That is,
searching for TMPDIR doesn't find the answer.  You need to carefully
read that no arguments implies --tmpdir and that this implies the use
of TMPDIR.  A separate discussion of TMPDIR would be more helpful.

Thanks...

peace & happiness,
martin




Information forwarded to bug-coreutils <at> gnu.org:
bug#29807; Package coreutils. (Tue, 30 Oct 2018 02:23:01 GMT) Full text and rfc822 format available.

Message #11 received at 29807 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 29807 <at> debbugs.gnu.org
Subject: Re: bug#29807: Probably ignore this bug report ;-)
Date: Mon, 29 Oct 2018 20:22:08 -0600
tags 29807 notabug
close 29807
stop

(triaging old bugs)

On 2017-12-21 9:45 p.m., Martin Schwenke wrote:
> After reading the documentation again, I realise that it is actually
> complete (i.e. no arguments implies --tmpdir).

Given the above, I'm closing this bug.

> [...] A separate discussion of TMPDIR would be more helpful.

Patches and wording suggestions are always welcomed.

regards,
 - assaf






Added tag(s) notabug. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 02:23:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 29807 <at> debbugs.gnu.org and Martin Schwenke <martin <at> meltin.net> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 02:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Nov 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.