A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code simplification around simgrid::surf::NetCardImpl
[simgrid.git]
/
src
/
mc
/
mc_comm_pattern.cpp
diff --git
a/src/mc/mc_comm_pattern.cpp
b/src/mc/mc_comm_pattern.cpp
index
f63a529
..
d29df34
100644
(file)
--- a/
src/mc/mc_comm_pattern.cpp
+++ b/
src/mc/mc_comm_pattern.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007-201
4
. The SimGrid Team.
+/* Copyright (c) 2007-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-9,9
+9,9
@@
#include <xbt/sysdep.h>
#include <xbt/dynar.h>
#include <xbt/sysdep.h>
#include <xbt/dynar.h>
-#include "mc_comm_pattern.h"
-#include "mc_smx.h"
-#include "mc_xbt.hpp"
+#include "
src/mc/
mc_comm_pattern.h"
+#include "
src/mc/
mc_smx.h"
+#include "
src/mc/
mc_xbt.hpp"
using simgrid::mc::remote;
using simgrid::mc::remote;
@@
-26,7
+26,7
@@
mc_comm_pattern_t MC_comm_pattern_dup(mc_comm_pattern_t comm)
res->index = comm->index;
res->type = comm->type;
res->comm_addr = comm->comm_addr;
res->index = comm->index;
res->type = comm->type;
res->comm_addr = comm->comm_addr;
- res->rdv = strdup(comm->rdv);
+ res->rdv =
xbt_
strdup(comm->rdv);
res->data_size = -1;
res->data = NULL;
if (comm->type == SIMIX_COMM_SEND) {
res->data_size = -1;
res->data = NULL;
if (comm->type == SIMIX_COMM_SEND) {