Debian Bug report logs - #363518
manpages-dev: tmpfile.3 is confusing

version graph

Package: manpages-dev; Maintainer for manpages-dev is Dr. Tobias Quathamer <[email protected]>; Source for manpages-dev is src:manpages (PTS, buildd, popcon).

Reported by: Reuben Thomas <[email protected]>

Date: Wed, 19 Apr 2006 15:18:22 UTC

Severity: minor

Tags: fixed-upstream

Found in version manpages-dev/2.22-1

Fixed in versions manpages/2.28-1, manpages/2.31-1

Done: Martin Schulze <[email protected]>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#363518: manpages-dev: tmpfile.3 is confusing
Reply-To: "Michael Kerrisk" <[email protected]>, [email protected]
Resent-From: "Michael Kerrisk" <[email protected]>
Resent-To: [email protected]
Resent-CC: Martin Schulze <[email protected]>
Resent-Date: Wed, 19 Apr 2006 20:48:45 UTC
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 363518
X-Debian-PR-Package: manpages-dev
X-Debian-PR-Keywords: 
Received: via spool by [email protected] id=B363518.11454787381495
          (code B ref 363518); Wed, 19 Apr 2006 20:48:45 UTC
Received: (at 363518) by bugs.debian.org; 19 Apr 2006 20:32:18 +0000
Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net)
	by spohr.debian.org with smtp (Exim 4.50)
	id 1FWJBv-0004TP-5c
	for [email protected]; Wed, 19 Apr 2006 13:22:23 -0700
Received: (qmail 3756 invoked by uid 0); 19 Apr 2006 20:21:51 -0000
Received: from 202.36.179.65 by www064.gmx.net with HTTP;
	Wed, 19 Apr 2006 22:21:51 +0200 (MEST)
Date: Wed, 19 Apr 2006 22:21:51 +0200 (MEST)
From: "Michael Kerrisk" <[email protected]>
To: Reuben Thomas <[email protected]>,[email protected]
Cc: [email protected]
MIME-Version: 1.0
References: <[email protected]>
X-Priority: 3 (Normal)
X-Authenticated: #24879014
Message-ID: <[email protected]>
X-Mailer: WWW-Mail 1.6 (Global Message Exchange)
X-Flags: 0001
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	VALID_BTS_CONTROL autolearn=no version=2.60-bugs.debian.org_2005_01_02
tags 363518 fixed-upstream
thanks

> The man page says:
> 
>  "The tmpfile() function generates a unique temporary filename."
> 
> This is true, but largely irrelevant: there's no (legal) way to get at
> the name. Since this a rather difficult area (tmpname, tempnam,
> mkstemp &c.), clarity helps.
> 
> I suggest rewriting the first two sentences as:
> 
>   The tmpfile() opens a unique temporary file in binary read/write
>   (w+b) mode.
> 
> The generation of a unique filename is mentioned later (with reference
> to errors); that's fine.

Reuben,

Thanks for your report.  I agree and have amended upstream as 
you suggest.  Fixed in upstream 2.31.

Cheers,

Michael

-- 
Michael Kerrisk
maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 

Want to help with man page maintenance?  
Grab the latest tarball at
ftp://ftp.win.tue.nl/pub/linux-local/manpages/, 
read the HOWTOHELP file and grep the source 
files for 'FIXME'.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Wed Nov 13 12:55:29 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.