[Mono-list] Determining the full name of the file

Jaroslaw Kowalski jarek@atm.com.pl
Sat, 3 Aug 2002 17:39:02 +0200


What about path normalization (removing "..", ".", "//") ?
Path.GetFullPath() doesn't seem to support it. As soon as I'll have it
working robustly with C I'll prepare a patch for GetFullPath() in C#.

Jarek

----- Original Message -----
From: "Gonzalo Paniagua Javier" <gonzalo@ximian.com>
To: "mono-list" <mono-list@ximian.com>
Sent: Saturday, August 03, 2002 4:29 PM
Subject: Re: [Mono-list] Determining the full name of the file


El sáb, 03-08-2002 a las 13:09, Jaroslaw Kowalski escribió:
> Before I stard coding I wanted to ask you, if you know about any good (not
> realpath() as it isn't safe) library function to do this? Also, I don't
want
> to resolve symlinks as realpath() does.

Path.GetFullPath (...)?

- Gonzalo



_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list