Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deploy/os/ubuntu22.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--platform=debian --valgrind=memcheck,helgrind --dockerimage=mdsplus/builder:ubuntu22-64 --distname=Ubuntu22 --arch=amd64
7 changes: 7 additions & 0 deletions deploy/packaging/linux.xml
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,13 @@ rm -f /etc/ld.so.conf.d/mdsplus.conf 2>/dev/null
</packages>

<!-- dist first -->
<external_packages dist="Ubuntu22">
<numpy package="python3-numpy"/>
<java package="java-runtime"/>
<xinetd package="busybox"/>
<readline package="libreadline8"/>
</external_packages>

<external_packages dist="Ubuntu20">
<numpy package="python3-numpy"/>
<java package="java-runtime"/>
Expand Down
8 changes: 4 additions & 4 deletions mdsobjects/cpp/mdsipobjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using namespace MDSplus;
using namespace std;

extern "C" void *getManyObj(char *serializedIn) throw(MdsException);
extern "C" void *putManyObj(char *serializedIn) throw(MdsException);
extern "C" void *getManyObj(char *serializedIn);
extern "C" void *putManyObj(char *serializedIn);
extern "C" void *compileFromExprWithArgs(char *expr, int nArgs, void *args,
void *tree);
extern "C" int SendArg(int sock, unsigned char idx, char dtype,
Expand Down Expand Up @@ -108,7 +108,7 @@ static int convertType(int mdsType)
}
}

void *getManyObj(char *serializedIn) throw(MdsException)
void *getManyObj(char *serializedIn)
{
AutoData<List> inArgs((List *)deserialize((const char *)serializedIn));
if (inArgs->clazz != CLASS_APD) // || inArgs->dtype != DTYPE_LIST)
Expand Down Expand Up @@ -241,7 +241,7 @@ void *getManyObj(char *serializedIn) throw(MdsException)
return result->convertToDsc();
}

void *putManyObj(char *serializedIn) throw(MdsException)
void *putManyObj(char *serializedIn)
{
AutoData<List> inArgs((List *)deserialize((const char *)serializedIn));
if (inArgs->clazz != CLASS_APD) // || inArgs->dtype != DTYPE_LIST)
Expand Down
2 changes: 1 addition & 1 deletion mdstcpip/udt4/src/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void CUDT::connect(const sockaddr *serv_addr) {
}
#pragma GCC diagnostic pop

int CUDT::connect(const CPacket &response) throw() {
int CUDT::connect(const CPacket &response) {
// this is the 2nd half of a connection request. If the connection is setup
// successfully this returns 0. returning -1 means there is an error.
// returning 1 or 2 means the connection is in process and needs more
Expand Down
2 changes: 1 addition & 1 deletion mdstcpip/udt4/src/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class CUDT {
// Return 0 if connected, positive value if connection is in progress,
// otherwise error code.

int connect(const CPacket &pkt) throw();
int connect(const CPacket &pkt);

// Functionality:
// Connect to a UDT entity listening at address "peer", which has sent "hs"
Expand Down
254 changes: 127 additions & 127 deletions tdishr/TdiXxx.c

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions xtreeshr/XTreeDefaultSquish.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,10 @@ static inline int mergeArrays(struct descriptor_a *signalsApd,
(struct descriptor_xd *)malloc(numSignals * sizeof(struct descriptor_xd));
for (i = 0; i < numSignals; i++)
(*dimensionsXd)[i] = emptyXd;
arraysD = (struct descriptor_a **)(*arraysBuf =
malloc(numSignals * sizeof(char *)));
size_t arraysDsize = numSignals * sizeof(char *);
*arraysBuf = malloc(arraysDsize);
arraysD = (struct descriptor_a **)(*arraysBuf);
memset(arraysD, 0, arraysDsize);
// Evaluate first dimension for all segments
int totSize = 0;
for (i = 0; i < numSignals; i++)
Expand Down