X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <201003312325.o2VNP3dK024686@delorie.com> From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of mktemp 1.6 uploaded. Date: Thu, 1 Apr 2010 01:24:17 +0200 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline This is a port of mktemp 1.6 to MSDOS/DJGPP. Mktemp is a simple utility designed to make temporary file handling in shells scripts be safe and simple. It is compatible with the one that comes with coreutils. Because a port of GNU coreutils is not available but certain testsuites require a mktemp program to create their temporary output files this tool has been ported. DJGPP specific changes. ======================= - The default template pattern that is used to create the default filename is choosen at runtime depending on if LFN support is available or not. If LFN is available the default template "tmp.XXXXXXXXXX" will be used, if not then the shorter template "tpXXXXXX.XXX" will be used. It should be noticed that the program generates it own pattern for the default filename and do not use neither the mkstemp() nor mktemp() functions of libc and their use is not supported. - The tool can handle slash and backslash as dir separator. - To determinate which default directory shall be used to store the file the environment variables TMPDIR, TMP and TEMP are evaluated in that order. If one of the environment varaiables is set, it will be checked that the directory contained therein can really be accessed. If not possible the current working dir will be used as temporary filename prefix. - To build the package you will need LFN support. I do not see any reason to waist my time trying to make the sources 8.3 clean. Please *read* the docs and man pages to become familiar with the program options. As usual all changes I have done to the sources are documented in the /djgpp/diffs file. The port consists of two packages that have been compiled using stock djdev203 and that can be downloaded from ftp.delorie.com and mirrors as (timestamp 2010-03-30): Mktemp 1.6 binary and man format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/mktmp16b.zip Mktemp 1.6 source: ftp://ftp.delorie.com/pub/djgpp/current/v2tk/mktmp16s.zip For the convenience of the WinXP users the binaries has been produced a second time using the djdev204 beta library. This package is available at ftp.delorie.com and mirrors as (timestamp 2010-03-30): Mktemp 1.6 binary and man format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/mktmp16b.zip Send mktemp specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . If you are not sure if the failure is really a mktemp failure or a djgpp specific failure, report it here and *not* to . The author is not aware of what I have done. Enjoy. Guerrero, Juan Manuel