view src/of-sockets-2-deprecated.patch @ 5579:2734b3818171

Avoid double-free with librsb (bug #58957). * src/librsb.mk: Add work-around to avoid double-free (provided by Michele Martone). * src/mingw-of-sparsersb-1-no-render.patch: Remove patch. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 02 Nov 2020 08:55:18 +0100
parents 60f56afa9506
children
line wrap: on
line source

diff -r a0f23a7c3bd0 src/socket.cc
--- a/src/socket.cc	Fri Jan 30 15:27:56 2015 +0100
+++ b/src/socket.cc	Sun Dec 15 13:11:55 2019 +0100
@@ -19,7 +19,7 @@
 // Octave Includes
 #include <octave/oct.h>
 #include <octave/parse.h>
-#include <octave/toplev.h>
+#include <octave/interpreter.h>
 #include <octave/cmd-hist.h>
 #include <octave/symtab.h>
 #include <octave/variables.h>