Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 5, 2009, 2:58:42 PM (16 years ago)
Author:
rgrieder
Message:

Using POSIX forward slashes on Windows as well. There is only one exception: Plugin loading in GSGraphics.cc

  • Removed Core::getFooPathPOSIXString()
  • Modified Core::getFooPathString() to return POSIX path strings.

This should problems when exchanging file strings over the network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/core/ConfigFileManager.cc

    r2731 r2750  
    241241        // Open the file
    242242        std::ifstream file;
    243         file.open(filepath.file_string().c_str(), std::fstream::in);
     243        file.open(filepath.string().c_str(), std::fstream::in);
    244244        if (file.is_open())
    245245        {
     
    347347
    348348        std::ofstream file;
    349         file.open(filepath.file_string().c_str(), std::fstream::out);
     349        file.open(filepath.string().c_str(), std::fstream::out);
    350350        file.setf(std::ios::fixed, std::ios::floatfield);
    351351        file.precision(6);
Note: See TracChangeset for help on using the changeset viewer.