This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19317] [4.1 Regression] removing a temporary return value when we cannot


------- Additional Comments From mueller at kde dot org  2005-04-13 01:10 -------
the konqueror startup crash is fixed by:  
 
@@ -3716,7 +3716,7 @@ void KonqMainWindow::initActions() 
   m_paActivateNextTab = new KAction( i18n( "Activate Next Tab" ), "tab_next", 
QApplication::reverseLayout() ? KStdAccel::tabPrev() : KStdAccel::tabNext(), 
this, SLOT( slotActivateNextTab() ), actionCollection(), "activatenexttab" ); 
   m_paActivatePrevTab = new KAction( i18n( "Activate Previous Tab" ), 
"tab_previous", QApplication::reverseLayout() ? KStdAccel::tabNext() : 
KStdAccel::tabPrev(), this, SLOT( slotActivatePrevTab() ), actionCollection(), 
"activateprevtab" ); 
  
-  char actionname[15]; 
+  char actionname[16]; 
   for (int i=1;i<13;i++) { 
     sprintf(actionname,"activate_tab_%02d", i); 
     new KAction(i18n("Activate Tab %1").arg(i), 0, this, 
SLOT(slotActivateTab()), actionCollection(), actionname); 
 
 
so that is mood.  
 
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19317


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]