This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: shared lib dos filename style - one more question
> From: Danny Backx <danny.backx@scarlet.be>
> Cc: Daniel Jacobowitz <drow@false.org>, gdb-patches <gdb-patches@sourceware.org>
> Date: Mon, 12 Oct 2009 22:07:06 +0200
>
> What should unixify() do ?
> 1. /path/to/a -> /path/to/a
> 2. \path/to/a -> /path/to/a
> 3. \path\to\a -> /path/to/a
> 4. c: -> .
> 5. c:\path\to\a -> /path/to/a
If unixify is supposed to support Windows file semantics, then the
last 2 cases are incorrect, IMO. 4 should return "c:." and 5
"c:/path/to/a".