delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/07/28/18:56:49

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Message-ID: <3B63432E.6050309@ece.gatech.edu>
Date: Sat, 28 Jul 2001 18:56:46 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin-developers AT sources DOT redhat DOT com
Subject: Re: Problems with autoconf-2.52 testsuite using current CVS Cygwin
References: <996329431 DOT 27668 DOT ezmlm AT sources DOT redhat DOT com>

Excellent sleuthing, Trevor.  Info about possible mktemp implementation 
below.

Trevor wrote:

 > And another part of the problem is Cygwin does not have a mktemp utility.
 > The mktemp is used in preference to mkdir and totally bypasses the 
duplicate
 > PID and no RANDOM problem highlighted above....
 >
 > So after trying a few different versions of mktemp I found one at
 > http://www.courtesan.com/mktemp/mktemp.html . It built cleanly and I must
 > say its "great". I tried it with autoconf and straight away ALL 155 
autoconf
 > tests passed. Great, but there is still the problem that the directories
 > are not being deleted in the temp dir. :(
 > Note, I think this mktemp needs to be added as a core package.

I've been meaning to contribute my "misc" package for a while (as well 
as putting the code into the cvs-apps repository on sourceware) but have 
never gotten around to it.  "misc" (terrible name; any better 
suggestions?) contains the following:

    * ascii.exe: simple utility for displaying the ASCII character set
     * dump.exe: simple utility for displaying a nicely formatted 
hexdump of a file
     * putclip.exe: copy stdin to the Windows clipboard
     * getclip.exe: copy Windows clipboard to stdout
     * uuencode.exe: encode a file into unambiguous 7bit format
     * uudecode.exe: decode a file encoded by uuencode
     * conv.exe: a utility for converting line endings between DOS and 
UNIX format
     * d2u.exe: a copy of conv.exe which defaults to converting DOS->UNIX
     * u2d.exe: a copy of conv.exe which defaults to converting UNIX->DOS
     * mktemp.exe: make temporary files and directories with unique names

(Actually, I have a few feature requests and bugfixes I need to apply...)

On the down side, I do have this mktemp installed on my development 
machine, but I still saw the errors when running the autoconf test suite 
under cygwin-CVS.  However, I didn't know at the time to check that the 
test suite was actually using it.

--Chuck

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019