gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Gabriele Giacone
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1737-ga3531af
Date: Mon, 12 Aug 2013 01:13:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  a3531af5fd693eabaf4c2e599cdc945a044582d1 (commit)
       via  738c3d24e1b93763fc598171ad452725e37abb25 (commit)
      from  8e21cd011cf9e2ee2ae13d4f54742e7b969c314e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=a3531af5fd693eabaf4c2e599cdc945a044582d1


commit a3531af5fd693eabaf4c2e599cdc945a044582d1
Author: Gabriele Giacone <address@hidden>
Date:   Sun Aug 11 19:32:20 2013 +0200

    Fix warnings: gets deprecated.

diff --git a/extensions/fileio/fileio.cpp b/extensions/fileio/fileio.cpp
index 0854123..cf1cadd 100644
--- a/extensions/fileio/fileio.cpp
+++ b/extensions/fileio/fileio.cpp
@@ -438,7 +438,7 @@ fileio_gets(const fn_call& fn)
     assert(ptr);    
     char buf[BUFSIZE];
     memset(buf, 0, BUFSIZE);
-    string str = ::gets(buf);
+    string str = ::fgets(buf, BUFSIZE, stdin);
     return as_value(buf);
 }
 

http://git.savannah.gnu.org/cgit//commit/?id=738c3d24e1b93763fc598171ad452725e37abb25


commit 738c3d24e1b93763fc598171ad452725e37abb25
Author: Gabriele Giacone <address@hidden>
Date:   Mon Aug 12 03:04:11 2013 +0200

    Fix warnings: remove unused variables.

diff --git a/cygnal/libnet/network.cpp b/cygnal/libnet/network.cpp
index aecb341..0c1fc49 100644
--- a/cygnal/libnet/network.cpp
+++ b/cygnal/libnet/network.cpp
@@ -84,7 +84,6 @@ using std::vector;
 ///    This is the main namespace for Gnash and it's libraries.
 namespace gnash {
 
-static const char *DEFAULTPROTO = "tcp";
 static const short DEFAULTPORT  = RTMP_PORT;
 
 #ifndef INADDR_NONE
@@ -159,7 +158,7 @@ Network::createServer(std::string hostname, short port)
 {
 //    GNASH_REPORT_FUNCTION;
 
-    int             on, type;
+    int             on;
     int             retries = 0;
 
     if (_listenfd >= 2) {
@@ -562,7 +561,6 @@ Network::createClient(const string &hostname, short port)
     struct timeval      tval;
     int                 ret;
     int                 retries;
-    struct protoent     *proto;
 
 //    assert( ! connected() );
     if (connected()) {

-----------------------------------------------------------------------

Summary of changes:
 cygnal/libnet/network.cpp    |    4 +---
 extensions/fileio/fileio.cpp |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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