gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/libamf.all/test_sol.cpp [releas


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/libamf.all/test_sol.cpp [release_0_8_2_rc1]
Date: Fri, 22 Feb 2008 08:16:00 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         release_0_8_2_rc1
Changes by:     Sandro Santilli <strk>  08/02/22 08:16:00

Modified files:
        .              : ChangeLog 
        testsuite/libamf.all: test_sol.cpp 

Log message:
        use getSOLSafeDir for writing SOL files.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.5711.2.6&r2=1.5711.2.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_sol.cpp?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.6&r2=1.6.2.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5711.2.6
retrieving revision 1.5711.2.7
diff -u -b -r1.5711.2.6 -r1.5711.2.7
--- ChangeLog   22 Feb 2008 08:00:59 -0000      1.5711.2.6
+++ ChangeLog   22 Feb 2008 08:15:58 -0000      1.5711.2.7
@@ -1,5 +1,7 @@
 2008-02-22 Sandro Santilli <address@hidden>
 
+       * testsuite/libamf.all/test_sol.cpp: use getSOLSafeDir for writing
+         SOL files.
        * Makefile.am: don't list 'doc' subdir twice in DIST_SUBDIRS.
 
 2008-02-21 Sandro Santilli <address@hidden>

Index: testsuite/libamf.all/test_sol.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_sol.cpp,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -b -r1.6 -r1.6.2.1
--- testsuite/libamf.all/test_sol.cpp   21 Jan 2008 23:26:50 -0000      1.6
+++ testsuite/libamf.all/test_sol.cpp   22 Feb 2008 08:15:59 -0000      1.6.2.1
@@ -69,6 +69,8 @@
 {
     int c;
 
+    RcInitFile& rc = RcInitFile::getDefaultInstance();
+
     while ((c = getopt (argc, argv, "hdvsm:")) != -1) {
         switch (c) {
           case 'h':
@@ -91,7 +93,7 @@
     test_read(filespec);
 
     // Write a .sol file
-    filespec = "test.sol";
+    filespec = rc.getSOLSafeDir() + std::string("/test.sol");
     test_write(filespec);
 //    test_read(filespec);
     




reply via email to

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