delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/12/12:36:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 12 Dec 2000 17:13:16 +0000
Message-ID: <4418-Tue12Dec2000171316+0000-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
VM 6.75 under Emacs 20.7.1
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: globbing FAQ entry -- up to date?

The FAQ has this entry, but it's marked "not yet updated for the
latest net release".  I suspect it still applies.  Can I remove the
warning?

A.  How does wildcarding (globbing) work?


Q.  If an application using CYGWIN.DLL starts up, and can't find the
    PID environment variable, it assumes that it has been started from
    the a DOS style command prompt. This is pretty safe, since the
    rest of the tools (including bash) set PID so that a new process
    knows what PID it has when it starts up.

    If the DLL thinks it has come from a DOS style prompt, it runs a
    `globber' over the arguments provided on the command line. This
    means that if you type LS *.EXE from DOS, it will do what you
    might expect.

    Beware: globbing uses malloc. If your application defines malloc,
    that will get used. This may do horrible things to you.

Thanks,
David


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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