gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/libbase container.h noseek_fd_adapter.cpp


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/libbase container.h noseek_fd_adapter.cpp
Date: Fri, 03 Nov 2006 15:28:00 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/11/03 15:28:00

Modified files:
        libbase        : container.h noseek_fd_adapter.cpp 

Log message:
                * libbase\noseek_fd_adapter.cpp: ssize_t ==> size_t
                * libbase\container.h: Has forgotten to clean marks
                * server\asobj\NetStream.cpp: Has forgotten to clean marks
                * server\gnash.h: Has forgotten to clean marks

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/container.h?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.cpp?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: container.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/container.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- container.h 29 Oct 2006 18:34:11 -0000      1.46
+++ container.h 3 Nov 2006 15:28:00 -0000       1.47
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: container.h,v 1.46 2006/10/29 18:34:11 rsavoye Exp $ */
+/* $Id: container.h,v 1.47 2006/11/03 15:28:00 alexeev Exp $ */
 
 #ifndef __CONTAINER_H__
 #define __CONTAINER_H__
@@ -168,7 +168,7 @@
                add(key, value);
        }
 
-       int erase(const T& key) //vv
+       int erase(const T& key)
        {
                int     i = find_index(key);
                if (i >= 0)

Index: noseek_fd_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- noseek_fd_adapter.cpp       3 Nov 2006 13:51:37 -0000       1.10
+++ noseek_fd_adapter.cpp       3 Nov 2006 15:28:00 -0000       1.11
@@ -16,7 +16,7 @@
 
 // 
 
-/* $Id: noseek_fd_adapter.cpp,v 1.10 2006/11/03 13:51:37 strk Exp $ */
+/* $Id: noseek_fd_adapter.cpp,v 1.11 2006/11/03 15:28:00 alexeev Exp $ */
 
 #if defined(_WIN32) || defined(WIN32)
 #define snprintf _snprintf
@@ -225,7 +225,7 @@
 
 
        char* buf = new char[bytes_needed];
-       ssize_t bytes_read = read(_fd, (void*)buf, bytes_needed);
+       size_t bytes_read = read(_fd, (void*)buf, bytes_needed);
        if ( bytes_read < 0 )
        {
                fprintf(stderr,




reply via email to

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