gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog libbase/noseek_fd_adapter.cpp l...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog libbase/noseek_fd_adapter.cpp l...
Date: Tue, 03 Oct 2006 11:08:42 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/03 11:08:41

Modified files:
        .              : ChangeLog 
        libbase        : noseek_fd_adapter.cpp noseek_fd_adapter.h 

Log message:
        * libbase/noseek_fd_adapter.{cpp,h}: accept const char* as              
        cache filename.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1005&r2=1.1006
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.h?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1005
retrieving revision 1.1006
diff -u -b -r1.1005 -r1.1006
--- ChangeLog   3 Oct 2006 10:44:41 -0000       1.1005
+++ ChangeLog   3 Oct 2006 11:08:41 -0000       1.1006
@@ -1,5 +1,7 @@
 2006-10-03 Sandro Santilli  <address@hidden>
 
+       * libbase/noseek_fd_adapter.{cpp,h}: accept const char* as 
+       cache filename.
        * server/parser/movie_def_impl.{cpp,h}: wiped out SDL threads stuff.
 
 2006-10-03 Sandro Santilli  <address@hidden>

Index: libbase/noseek_fd_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libbase/noseek_fd_adapter.cpp       2 Oct 2006 16:28:11 -0000       1.4
+++ libbase/noseek_fd_adapter.cpp       3 Oct 2006 11:08:41 -0000       1.5
@@ -34,7 +34,7 @@
 // forward this exception.
 // 
 
-/* $Id: noseek_fd_adapter.cpp,v 1.4 2006/10/02 16:28:11 bjacques Exp $ */
+/* $Id: noseek_fd_adapter.cpp,v 1.5 2006/10/03 11:08:41 strk Exp $ */
 
 #if defined(_WIN32) || defined(WIN32)
 #define snprintf _snprintf
@@ -99,7 +99,7 @@
        ///     would not be accessible after destruction of this 
        ///     instance.
        ///
-       NoSeekFile(int fd, char* filename=NULL);
+       NoSeekFile(int fd, const char* filename=NULL);
 
        ~NoSeekFile();
 
@@ -137,7 +137,7 @@
        int _running;
 
        // cache filename
-       char* _cachefilename;
+       const char* _cachefilename;
 
        // Attempt at filling the cache up to the given size.
        void fill_cache(size_t size);
@@ -269,7 +269,7 @@
 }
 
 /*public*/
-NoSeekFile::NoSeekFile(int fd, char* filename)
+NoSeekFile::NoSeekFile(int fd, const char* filename)
        :
        _fd(fd),
        _running(1),
@@ -419,7 +419,7 @@
 
 // this is the only exported interface
 tu_file*
-make_stream(int fd, char* cachefilename)
+make_stream(int fd, const char* cachefilename)
 {
 #ifdef GNASH_NOSEEK_FD_VERBOSE
        fprintf(stderr, "making NoSeekFile stream for fd %d\n", fd);

Index: libbase/noseek_fd_adapter.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- libbase/noseek_fd_adapter.h 29 Sep 2006 22:20:46 -0000      1.1
+++ libbase/noseek_fd_adapter.h 3 Oct 2006 11:08:41 -0000       1.2
@@ -35,7 +35,7 @@
 // 
 //
 
-/* $Id: noseek_fd_adapter.h,v 1.1 2006/09/29 22:20:46 strk Exp $ */
+/* $Id: noseek_fd_adapter.h,v 1.2 2006/10/03 11:08:41 strk Exp $ */
 
 #ifndef STDIN_ADAPTER_H
 #define STDIN_ADAPTER_H
@@ -62,7 +62,7 @@
 /// Specify a cachefilename if you want to be able to access
 /// the full cache after deletion of the returned tu_file.
 ///
-DSOEXPORT tu_file* make_stream(int fd, char* cachefilename=NULL);
+DSOEXPORT tu_file* make_stream(int fd, const char* cachefilename=NULL);
 
 }
 




reply via email to

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