Andrew Dunstan wrote: > >>What made you choose this rather than GetFullPathName? > >> > >> > > > >Sure, we can do that. Does GetFullPathName() work if the path does not > >exist? > > > > yes. see > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getfullpathname.asp > > > How is it different from the path we pass to it? Aren't all > >those paths full already? > > > > > > > > If they are then it probably doesn't matter.
The reason I don't want to use GetFullPathName() is because on Unix, we just return the specified path, not the full path, so I don't want to do something different on Win32 unless we have to. There is good reason to get the short path on Win32, if we can, but no logic to returning the full path only on Win32, if that is not what was specified by configure. -- Bruce Momjian http://candle.pha.pa.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly