[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Portable mktemp invocation?
From: |
Grégoire Sutre |
Subject: |
Re: Portable mktemp invocation? |
Date: |
Sat, 25 Sep 2010 13:10:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100913 Iceowl/1.0b1 Icedove/3.0.7 |
On 09/23/2010 06:27 PM, Grégoire Sutre wrote:
A simple solution would be to replace those invocations with:
mktemp [-d] ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX
The attached patch implements this solution. Build tested on Debian
GNU/Linux and NetBSD.
Grégoire
mktemp-fix.diff
Description: Text Data