[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog utilities/dumpshm.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog utilities/dumpshm.cpp |
Date: |
Sat, 22 Dec 2007 23:26:56 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/12/22 23:26:56
Modified files:
. : ChangeLog
utilities : dumpshm.cpp
Log message:
ISO C++ forbids variable-size array 'buf' (unused, btw)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5244&r2=1.5245
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/dumpshm.cpp?cvsroot=gnash&r1=1.15&r2=1.16
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5244
retrieving revision 1.5245
diff -u -b -r1.5244 -r1.5245
--- ChangeLog 22 Dec 2007 18:53:26 -0000 1.5244
+++ ChangeLog 22 Dec 2007 23:26:56 -0000 1.5245
@@ -1,3 +1,8 @@
+2007-12-23 Sandro Santilli <address@hidden>
+
+ * utilities/dumpshm.cpp: ISO C++ forbids variable-size array 'buf'
+ (unused, btw)
+
2007-12-22 Rob Savoye <address@hidden>
* utilities/dumpshm.cpp: Add support to dump LocalConnection files
Index: utilities/dumpshm.cpp
===================================================================
RCS file: /sources/gnash/gnash/utilities/dumpshm.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- utilities/dumpshm.cpp 22 Dec 2007 18:53:26 -0000 1.15
+++ utilities/dumpshm.cpp 22 Dec 2007 23:26:56 -0000 1.16
@@ -333,7 +333,7 @@
// If the -c convert options was specified, dump the memory segment to
disk.
// This makes it easy to store them as well as to examine them in great
detail.
if (convert) {
- char buf[size+1];
+ //char buf[size+1];
int fd = open("segment.raw",O_WRONLY|O_CREAT, S_IRWXU);
if (fd == -1) {
perror("open");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog utilities/dumpshm.cpp,
Sandro Santilli <=