We can use
Tcl_FSConvertToPathType or Tcl_FsStat

Zoran Vasiljevic wrote:

Am 10.06.2005 um 17:58 schrieb Vlad Seryakov:

We can check for slashes / and \ in the path, not just first character. This will work both on Unix and Windows.



Yes. There should be a call like:

   bool NsLooksLikeUnixPath(char *path)
   bool NsLooksLikeWindowsPath(char *path)

because you need to cover all sorts of weird formats.

Zoran


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/

Reply via email to