Update of /cvsroot/openvrml/openvrml/src/libopenvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25805/src/libopenvrml/openvrml
Modified Files:
browser.cpp
Log Message:
Removed invalid assertion.
Index: browser.cpp
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml/openvrml/browser.cpp,v
retrieving revision 1.180
retrieving revision 1.181
diff -C2 -d -r1.180 -r1.181
*** browser.cpp 25 Jul 2006 05:05:47 -0000 1.180
--- browser.cpp 25 Jul 2006 05:11:14 -0000 1.181
***************
*** 7439,7444 ****
//
// _fullpath returns a string starting with the drive letter; for
! // the URL, the path must begin with a '/'. So we simply put one at
! // the beginning of the buffer.
//
char buffer[_MAX_PATH] = { '/' };
--- 7439,7444 ----
//
// _fullpath returns a string starting with the drive letter; for
! // the URL, the path must begin with a '/'. So we simply put one
! // at the beginning of the buffer.
//
char buffer[_MAX_PATH] = { '/' };
***************
*** 7452,7456 ****
resolved_path + strlen(resolved_path) + 1,
std::bind2nd(std::equal_to<char>(), '\\'), '/');
- assert(resolved_path == buffer);
# else
char buffer[PATH_MAX];
--- 7452,7455 ----
|