[stefan.schuerger: Path problems with trailing dot]
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon May 16 11:36:00 GMT 2005
On May 16 12:58, Corinna Vinschen wrote:
> Preliminary patch see below.
Correction:
> Index: path.cc
> ===================================================================
> RCS file: /cvs/src/src/winsup/cygwin/path.cc,v
> retrieving revision 1.374
> diff -u -p -r1.374 path.cc
> --- path.cc 13 May 2005 21:05:46 -0000 1.374
> +++ path.cc 16 May 2005 10:52:56 -0000
> [...]
> + if (RtlDosPathNameToNtPathName_U (wc_path, &upath, NULL, NULL))
> + {
> +#ifdef DEBUGGING
> + char nt_path[CYG_MAX_PATH + 5];
> + sys_wcstombs (nt_path, upath.Buffer, CYG_MAX_PATH);
Make that
char nt_path[CYG_MAX_PATH + 7];
sys_wcstombs (nt_path, upath.Buffer, CYG_MAX_PATH + 7);
> + debug_printf ("DOS: <%s> NT: <%s>", path, nt_path);
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
More information about the Cygwin-developers
mailing list