X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=EB8Flz5 xZHQqASr/QYxDBlvZjS99cqjzfylQyCjgMlmL8N5+0yoLZT3KvJgyEhW784ZfBu2 Y9Fh9XLBXTPmSPtyyUtJAFjcEaQi56YKGK1A8F2wvOBbWfr4CmkJcgAmG7E9RCDR 6R4CHOqHJM4pVR6GNreW51fvLbkugcR9rMug= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=gbNV15cCvVXLh x/eIGtdkPwSZZo=; b=TsgXr5iXAz2COgh5RnZ8UBfAdFYgDSsqmbAfGKQvejEgc naXCL65XNOnH/60K4BOXsAClh/l4U3kHUTcdLjG+ltu/smjV/pJCmDrw7gtqY1qm Fn8OsCXeKMaTwpA17rgHvElvgKM8Ys+HPm/AWfH+HZLKl9vIJBZ5sC9p2jsKFM= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qk0-f174.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=x3kKyMdQMfnITXqtJeYzPHvuiQuabS6vbsMPx+zE66M=; b=miPa1TStMrk1zZ6kbJAhTDJ9HUoulArJGDq7y+DPTXrUL/9uqhE2FR4XUjERTo7J8A vguTl4hiHrzaoDQ335TzPLmakI5TtREDxWSXqt9sz2dvgaOJqeU071V301VS/B1XvYN0 CYwCFkS0WYRJ3iEOjvWbbkKwTDfDtC5O77CKClTtb5a5+pAlKYQ5Q69qnoN60giv0fWd 624Ir0V7F04BwbihK0SBUWMSgh8nqwsouCeDXocYKOAvfkn7h7QME6HpFE5+wwow2kKo 7dUZwzktaYx/po+Ipz7ZnRWH8l5y73BXdmE5h1GUyrgonMP7BobKbqmklB3mkWKzXmKi 0DnA== X-Gm-Message-State: AKaTC02UbM4vMz+ckxBlTaV/xnSAy5W/dwQiZTedP7S2XJAcmEexYxRN6QDqn8pQlGDziU35189qHrKct9MAIQ== X-Received: by 10.55.207.18 with SMTP id e18mr75942635qkj.48.1481533902258; Mon, 12 Dec 2016 01:11:42 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <6e5968a1-a667-f911-fbec-f83e4ef34608 AT redhat DOT com> <887116862 DOT 20161208214534 AT yandex DOT ru> From: Dipak Gaigole Date: Mon, 12 Dec 2016 14:41:41 +0530 Message-ID: Subject: Re: Problem with chdir and GetCurrentDirectory on Windows 2016 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes > >> Agreed Andrey. But I couldn't find any API(s) which can serve my >> requirements. And we can't afford to execute (fork+exec) tools like >> cygpath for each getcwd call. >> Any suggestions on improving this approach or any alternative approach >> are always welcome. > > https://cygwin.com/cygwin-api/func-cygwin-conv-path.html > > Note the CCP_PROC_CYGDRIVE option. > Yes Csaba, I had evaluated this option but we are using an older version of cygwin (1.7.33) which doesn't have this option available :( Thanks, Dipak