Mail Archives: djgpp/2010/07/30/15:10:13
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
Message-Id: | <201007301909.o6UJ9UdO001687@delorie.com>
|
From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
|
To: | djgpp-announce AT delorie DOT com
|
Subject: | ANNOUNCE: DJGPP port of mktemp 1.7 uploaded.
|
Date: | Fri, 30 Jul 2010 20:42:19 +0200
|
This is a port of mktemp 1.7 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 test suites 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 file name
is chosen at run time 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 noted that the program generates its own pattern for the default
file name 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 directory 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 none of the variables are set or none of the directories can be accessed,
the current working directory will be used as temporary file name prefix.
- To build the package you will need LFN support. I do not see any reason
to waste 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 (time stamp 2010-07-26):
Mktemp 1.7 binary and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/mktmp17b.zip
Mktemp 1.7 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2tk/mktmp17s.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 (time stamp 2010-07-26):
Mktemp 1.7 binary and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2tk/mktmp17b.zip
Send mktemp specific bug reports to <http://www.mktemp.org/bugs/>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <djgpp AT delorie DOT com>.
If you are not sure if the failure is really a mktemp failure
or a djgpp specific failure, report it here and *not* to
<http://www.mktemp.org/bugs/>. The author is not aware of
what I have done.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -