shared lib dos filename style - one more question

Eli Zaretskii eliz@gnu.org
Mon Oct 12 20:28:00 GMT 2009


> 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".



More information about the Gdb-patches mailing list