I don't who committed this:

2002-05-02  Herbert Voss  <[EMAIL PROTECTED]>

         * filetools.C: getline -> std::getline.


maybe that I'm getting old, but this is in my ChangeLog, but
not changed in my filetools.C and I never send such patch.

It's part of the attached patch, which is important for
lyxerr.

Herbert


-- 
http://www.lyx.org/help/
Index: src/support/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/ChangeLog,v
retrieving revision 1.101
diff -u -r1.101 ChangeLog
--- src/support/ChangeLog       2 May 2002 14:12:44 -0000       1.101
+++ src/support/ChangeLog       2 May 2002 16:06:06 -0000
@@ -1,3 +1,9 @@
+2002-05-02  Herbert Voss  <[EMAIL PROTECTED]>
+
+       * filetools.C (getExtFromContents): lyxerr << str only
+       for 60 characters instead of the whole file when there
+       is no \n
+
 2002-05-02  Lars Gullik Bjønnes  <[EMAIL PROTECTED]>
 
        * lyxstring.C: close to typo fix.
Index: src/support/filetools.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/filetools.C,v
retrieving revision 1.120
diff -u -r1.120 filetools.C
--- src/support/filetools.C     2 May 2002 10:46:51 -0000       1.120
+++ src/support/filetools.C     2 May 2002 16:06:06 -0000
@@ -1044,8 +1044,8 @@
                        break;
                }
 
-               getline(ifs, str);
-               lyxerr[Debug::GRAPHICS] << "Scanstring: " << str << endl;
+               std::getline(ifs, str);
+               lyxerr[Debug::GRAPHICS] << "Scanstring: " << str.substr(0,60) << endl;
 
                string const stamp = str.substr(0,2);
                if (firstLine && str.size() >= 2) {

Reply via email to