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


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

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

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&r1=1.5718&r2=1.5719
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_sol.cpp?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5718
retrieving revision 1.5719
diff -u -b -r1.5718 -r1.5719
--- ChangeLog   22 Feb 2008 08:01:46 -0000      1.5718
+++ ChangeLog   22 Feb 2008 08:16:20 -0000      1.5719
@@ -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-20 Bastiaan Jacques <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.7
diff -u -b -r1.6 -r1.7
--- 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:16:21 -0000      1.7
@@ -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]