gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Avoid RC file complaint on every run


From: John Gilmore
Subject: [Gnash-dev] Avoid RC file complaint on every run
Date: Sat, 14 Feb 2009 17:57:24 -0800

Gnash lets the user put an RC file in ~/.gnashrc.  The properties that
the plugin's GUI lets you edit go into $HOME/.gnashpluginrc.  It
doesn't need the .gnashrc file, and doesn't ever install one, yet if
one doesn't exist, it complains every time you run gnash or flvdumper
or other programs.  This diff eliminates that complaint.

        John

=== modified file 'libbase/rc.cpp'
--- libbase/rc.cpp      2009-02-09 12:30:31 +0000
+++ libbase/rc.cpp      2009-02-15 01:45:39 +0000
@@ -329,7 +329,9 @@
     
     if (stat(filespec.c_str(), &stats) != 0)
     {
-        cerr << _("RcInitFile: couldn't open file: ") << filespec << endl;
+//      This is a normal case, since we check many places for an RC file.
+//      So don't complain bitterly every time we run gnash!
+//      cerr << _("RcInitFile: couldn't open file: ") << filespec << endl;
         return false;
     }
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]