X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EAFfvwVCcKEes/2dsb2JhbABEvjcWc4IeAQEBAwESKEQNAQgNFRQvExsBBgQBBBsah2gGoUCESZxikCFhA402iWmEcYo6gnOCIg From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "cygwin AT cygwin DOT com" Subject: FW: A bug in CYGWIN exec() and revision of argument values Date: Fri, 7 Dec 2012 13:33:52 +0000 Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D043FCB40@MLBXv04.nih.gov> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id qB7DYA1Q020890 Hi, Just checking whether this is going to be fixed, or should be keep working around by passing the lowercased version of the "/C" switch ? > if (ac == 3 && argv[1][0] == '/' && argv[1][1] == 'c' && > (iscmd (argv[0], "command.com") || iscmd (argv[0], "cmd.exe"))) > Regards, Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple