[Plib-cvs] plib/src/util ul.cxx,1.32,1.33
Brought to you by:
sjbaker
From: Wolfram K. <wol...@us...> - 2003-12-16 22:32:46
|
Update of /cvsroot/plib/plib/src/util In directory sc8-pr-cvs1:/tmp/cvs-serv22447 Modified Files: ul.cxx Log Message: ulMakePath did not use ulIsAbsolutePath and on Windos indeed incorrectly saw absolute paths as relative ones, handling them incorrectly. Index: ul.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/util/ul.cxx,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- ul.cxx 7 Feb 2003 15:25:44 -0000 1.32 +++ ul.cxx 16 Dec 2003 22:32:43 -0000 1.33 @@ -183,7 +183,7 @@ { if ( fname ) { - if ( fname [ 0 ] != '\0' && fname [ 0 ] != '/' && + if ( !ulIsAbsolutePathName (fname) && dir != NULL && dir[0] != '\0' ) { strcpy ( path, dir ) ; |