| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | Chris Faylor <cgf AT cygnus DOT com> |
| Date: | Mon, 16 Oct 2000 12:22:03 -0400 |
| To: | Cygwin mailing list <Cygwin AT Sourceware DOT Cygnus DOT Com> |
| Subject: | Re: Treatment of x:path again |
| Message-ID: | <20001016122203.A12024@cygnus.com> |
| Reply-To: | cygwin AT sources DOT redhat DOT com |
| Mail-Followup-To: | Cygwin mailing list <Cygwin AT Sourceware DOT Cygnus DOT Com> |
| References: | <20001016115319 DOT C11579 AT cygnus DOT com> <004201c0378b$da8b7bd0$21c9ca95 AT mow DOT siemens DOT ru> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.3.6i |
| In-Reply-To: | <004201c0378b$da8b7bd0$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, Oct 16, 2000 at 08:12:17PM +0400 |
On Mon, Oct 16, 2000 at 08:12:17PM +0400, Andrej Borsenkow wrote: > >> >> How would you suggest having something be 'relative to the current path' >> in cygwin, given the /cygdrive method of doing things? cygwin has never >> kept track of the current directory of other drives. >> > >Searching MSDN gives: > >Routine Use >_chdir, _wchdir Change current working directory >_chdrive Change current drive >_getcwd, _wgetcwd Get current working directory for default drive >_getdcwd, _wgetdcwd Get current working directory for specified drive >_getdrive Get current (default) drive >_mkdir, _wmkdir Make new directory >_rmdir, _wrmdir Remove directory >_searchenv, _wsearchenv Search for given file on specified paths >_getdcwd looks promising. It is part of msvcrt.dll; and is included in Cygwin >export lib: >mw1g017 AT MW1G17C% nm /usr/lib/libmsvcrt.a | grep getdcwd >00000000 I __imp___wgetdcwd >00000000 T __wgetdcwd >00000000 T __getdcwd >00000000 I __imp___getdcwd You can't mix cygwin with msvcrt. >> If you'd like to submit a patch to somehow accomplish this, I'd be happy >> to apply it. >> > >I may. Is module winsup still enough to build cygwin1.dll? In theory. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |