Update of /cvsroot/mahogany/M/src/adb
In directory sc8-pr-cvs1:/tmp/cvs-serv12486/src/adb
Modified Files:
ProvLine.cpp
Log Message:
unicode fixes
Index: ProvLine.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/adb/ProvLine.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -u -2 -r1.6 -r1.7
--- ProvLine.cpp 4 Oct 2003 12:20:21 -0000 1.6
+++ ProvLine.cpp 4 Oct 2003 13:52:41 -0000 1.7
@@ -226,8 +226,8 @@
m_dirty = false;
- ifstream stream(m_file.c_str());
+ ifstream stream(m_file.fn_str());
if ( !stream.good() )
{
- ofstream create(m_file.c_str(), ios::out|ios::ate);
+ ofstream create(m_file.fn_str(), ios::out|ios::ate);
if ( !create.good() )
goto FileError;
@@ -344,5 +344,5 @@
String commit = wxFileName::CreateTempFileName(_T(""));
- ofstream stream(commit.c_str());
+ ofstream stream(commit.fn_str());
if ( !stream.good() )
goto FileError;
@@ -360,5 +360,5 @@
goto FileError;
- if ( rename(commit.c_str(), m_file.c_str()) )
+ if ( rename(commit.fn_str(), m_file.fn_str()) )
goto FileError;
@@ -588,5 +588,5 @@
case Test_OpenReadOnly:
{
- FILE *fp = fopen(fullname, Test_Open ? "a" : "r");
+ FILE *fp = fopen(fullname.fn_str(), Test_Open ? "a" : "r");
if ( fp != NULL )
{
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates