From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA17485; Mon, 15 Apr 2002 10:13:11 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA09103 for ; Mon, 15 Apr 2002 10:13:09 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3F8CwD18939; Mon, 15 Apr 2002 10:12:58 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA05537; Mon, 15 Apr 2002 10:12:57 +0200 (MET DST) Date: Mon, 15 Apr 2002 10:12:56 +0200 From: Xavier Leroy To: Vitaly Lugovsky Cc: caml-list@inria.fr Subject: [Caml-list] Re: Filename.quote - again Message-ID: <20020415101256.A9201@pauillac.inria.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from vsl@ontil.ihep.su on Sun, Apr 14, 2002 at 10:03:08PM +0400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I can't understand the meaning of the following code: Filename.quote puts its argument between single quotes: foo.ml --> 'foo.ml' and if there's a single quote inside the argument, the following is generated: foo'bar --> 'foo'\''bar' i.e. the ' causes the current quote to be closed, an unquoted \' to be generated, and a new quote to be opened. This seems to work fine with any Unix shell. > It makes gcc crazy when you passing linking > options with spaces inside (try to compile > camltk418 for example). Can you provide a more specific bug report? What is passed to gcc that gcc doesn't like? - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners