Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 334554 Details for
Bug 437894
games-emulation/virtualjaguar-1.0.7 -> 2.0.2 ebuild submission
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for log in CWD and crash on exit
no-log-and-crash-fix.patch (text/plain), 1.33 KB, created by
James L. Hammons
on 2013-01-05 17:37:31 UTC
(
hide
)
Description:
Fix for log in CWD and crash on exit
Filename:
MIME Type:
Creator:
James L. Hammons
Created:
2013-01-05 17:37:31 UTC
Size:
1.33 KB
patch
obsolete
>--- src/gui/app.cpp.old 2012-01-05 16:18:10.000000000 -0600 >+++ src/gui/app.cpp 2013-01-05 11:00:08.420028303 -0600 >@@ -63,11 +63,11 @@ > // This is so we can pass this stuff using signal/slot mechanism... > //ick int id = qRegisterMetaType<uint32>(); > >- bool success = (bool)LogInit("virtualjaguar.log"); // Init logfile >+// bool success = (bool)LogInit("virtualjaguar.log"); // Init logfile > int retVal = -1; // Default is failure > >- if (!success) >- printf("Failed to open virtualjaguar.log for writing!\n"); >+// if (!success) >+// printf("Failed to open virtualjaguar.log for writing!\n"); > > // Set up SDL library > if (SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_AUDIO) < 0) >@@ -85,13 +85,13 @@ > SDL_Quit(); > } > >- LogDone(); // Close logfile >+// LogDone(); // Close logfile > return retVal; > } > > // Main app constructor--we stick globally accessible stuff here... > >-App::App(int argc, char * argv[]): QApplication(argc, argv) >+App::App(int & argc, char * argv[]): QApplication(argc, argv) > { > mainWindow = new MainWin(); > mainWindow->show(); >--- src/gui/app.h.old 2013-01-05 11:22:12.844470719 -0600 >+++ src/gui/app.h 2013-01-05 11:22:30.021255980 -0600 >@@ -17,7 +17,7 @@ > class App: public QApplication > { > public: >- App(int argc, char * argv[]); >+ App(int & argc, char * argv[]); > > private: > MainWin * mainWindow;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 437894
:
326232
|
326234
|
334480
| 334554 |
338462
|
338464