X-Spam-Check-By: sourceware.org Date: Mon, 2 Oct 2006 07:58:03 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: mssing packages for cygwin Message-ID: <20061002115803.GA25943@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <45206395 DOT 8070204 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Mon, Oct 02, 2006 at 04:04:30AM +0000, Tom Lee wrote: >since the root is c:/cygwin, "mv *.txt /my/directory" under cygwin will >goes to c:/cygwin/my/directory not c:/my/directory. > >it looks that all C program containing getcwd(), chdir() functions will not >work under cycgwin unless these C programs are compiled under cygwin, since >they won't recognize /cygdrive/c. Well, duh? >I really don't see any difference for using /cygdrive/c/ from c:/ under >windows. /cygdrive/c/ is windows specific path, so does c:/. Cygwin emulates Linux. "c:" has no special meaning to Linux so programs which are designed to work on Linux may not understand the Windows notion of "c:" as "the C drive". We invented "/cygdrive" as a method for referencing "the C drive" in a Linux/POSIX fashion. This is how things have worked in Cygwin for years. It is not going to change and it is not really worth a long email discussion thread. Can we move on now, please? -- Christopher Faylor spammer? -> aaaspam AT sourceware DOT org Cygwin Co-Project Leader aaaspam AT duffek DOT com TimeSys, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/