[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdebase/kdm/kfrontend
From:       Adriaan de Groot <adridg () cs ! kun ! nl>
Date:       2003-05-09 11:34:05
[Download RAW message or body]

CVS commit by adridg: 

'stdout' is not a good name for a function or variable (just like errno).
It's often #defined to point to some internal function in libc. This
minor change fixes compile on FreeBSD.


  M +3 -3      liloinfo.cpp   1.18.2.3
  M +2 -2      liloinfo.h   1.5.2.2


--- kdebase/kdm/kfrontend/liloinfo.cpp  #1.18.2.2:1.18.2.3
@@ -58,5 +58,5 @@ LiloInfo::LiloInfo ( const QString &lilo
                 }
 
-                QStringList lst = liloproc.stdout();
+                QStringList lst = liloproc.getStdout();
                 QStringList::Iterator it = lst.begin();
 
@@ -144,5 +144,5 @@ bool LiloProcess::exec()
 }
 
-QStringList LiloProcess::stdout()
+QStringList LiloProcess::getStdout()
 {
     return QStringList::split( '\n', QString::fromLocal8Bit( _stdout.data(), _stdout.size() ) );

--- kdebase/kdm/kfrontend/liloinfo.h  #1.5.2.1:1.5.2.2
@@ -77,5 +77,5 @@ class LiloProcess : public KProcess
                               const QString &bootmaplocation );
                 bool exec();
-                QStringList stdout();
+                QStringList getStdout();
                 QString error();
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic