pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39717: patch-ae in sysutils/gentoo uses mkdtemp

The following reply was made to PR pkg/39717; it has been noted by GNATS.

From: "OBATA Akio" <>
Subject: Re: pkg/39717: patch-ae in sysutils/gentoo uses mkdtemp
Date: Sun, 02 Nov 2008 20:44:25 +0900

 On Wed, 08 Oct 2008 22:00:00 +0900, <> 
 > patch-ae in sysutils/gentoo replaces tmpnam with mkdtemp. NetBSD's man-page 
 > of mkdtemp warns:
 >      The mkdtemp() function is nonstandard and should not be used
 >      if portability is required.
 > I think "portability" is a given for pkgsrc.
 Aside from portability, patch-ae replace tmpnam with mkdtemp.
  tmpnam() returns a pointer to the file name
  mkdtemp() creates a mode 0700 directory and returns the path
 Then, create temporary directory, and use it as regular file...
 It is probably completely mistaken.
 But I don't know what this patch try to fix, because it exists since initial 
import with no reason.

Home | Main Index | Thread Index | Old Index