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 e2b2770f27e08372472d988c41d37299e7d5e7c2 (commit)
from edf5c984b3754c966f5ac01d99d25a043e53d970 (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=e2b2770f27e08372472d988c41d37299e7d5e7c2
commit e2b2770f27e08372472d988c41d37299e7d5e7c2
Author: David Binderman <address@hidden>
Date: Fri May 31 11:50:27 2013 -0600
use square braces, not parens for C++ new.
diff --git a/cygnal/proc.cpp b/cygnal/proc.cpp
index f221c11..1a05157 100644
--- a/cygnal/proc.cpp
+++ b/cygnal/proc.cpp
@@ -127,18 +127,18 @@ Proc::startCGI(const string &filespec, bool outflag,
boost::uint16_t port)
// If the parent has verbosity on, chances are the child should too.
// if (dbglogfile.getVerbosity() > 0) {
- cmd_line[1] = new char(3);
+ cmd_line[1] = new char[3];
strcpy(cmd_line[1], "-n");
- cmd_line[2] = new char(4);
+ cmd_line[2] = new char[4];
strcpy(cmd_line[2], "-vv");
cmd_line[3] = 0;
// }
// When running multiple cgis, we prefer to specify the port it's using.
if (port > 0) {
- cmd_line[3] = new char(3);
+ cmd_line[3] = new char[3];
strcpy(cmd_line[3], "-p");
- cmd_line[4] = new char(10);
+ cmd_line[4] = new char[10];
sprintf(cmd_line[4], "%d", port);
cmd_line[5] = 0;
}
-----------------------------------------------------------------------
Summary of changes:
cygnal/proc.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
Gnash
_______________________________________________
Gnash-commit mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnash-commit