X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Ffilesystem%2Ffilename.cpp;h=ba72084e997a929723c4ba7c9fa6358bd83da41d;hb=2d2b1d669337dd8843f785c2f3d9c6048f730252;hp=ed7b914aa518d2d1b0c5fb017da2414456d94e22;hpb=9c71eb9a29db75fcc1e6376e32a96ea8cf07006a;p=feisty_meow.git diff --git a/nucleus/library/filesystem/filename.cpp b/nucleus/library/filesystem/filename.cpp index ed7b914a..ba72084e 100644 --- a/nucleus/library/filesystem/filename.cpp +++ b/nucleus/library/filesystem/filename.cpp @@ -227,6 +227,20 @@ void filename::canonicalize() //LOG(astring("turned msys string into: ") + *this); } } + + // if no specialized path specifications were seen, and we have a unix style path + // here, then there will be trouble when we pass that to windows. +//if first character is a slash, and second char is alphanumeric, then we check... +//can we find a cygwin root dir stored in our config stuff? +// maybe in the build version file? ugh, yuck. +// what about in generated files, created at build time? --> yes, nice option. +// +//hmmm: we need the capability to re-create the config file that tells us +// where cyg root is, but how can we, aside from guessing at where to find +// cygwin (c:/cygwin c:/cygwin64 etc). +// +//hmmm: + #endif // we don't crop the last separator if the name's too small. for msdos