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
size_t is long, so don't play it smart and get it working on amd64
[simgrid.git]
/
tools
/
tesh
/
tesh.c
diff --git
a/tools/tesh/tesh.c
b/tools/tesh/tesh.c
index
98a6d14
..
3d3c7a9
100644
(file)
--- a/
tools/tesh/tesh.c
+++ b/
tools/tesh/tesh.c
@@
-83,7
+83,7
@@
static void handle_line(const char * filepos, char *line) {
}
static void handle_suite(const char* filename, FILE* IN) {
}
static void handle_suite(const char* filename, FILE* IN) {
-
in
t len;
+
size_
t len;
char * line = NULL;
int line_num=0;
char file_pos[256];
char * line = NULL;
int line_num=0;
char file_pos[256];
@@
-93,7
+93,7
@@
static void handle_suite(const char* filename, FILE* IN) {
rctx = rctx_new();
rctx = rctx_new();
- while (getline(&line,
(size_t*)
&len, IN) != -1) {
+ while (getline(&line, &len, IN) != -1) {
line_num++;
/* Count the line length while checking wheather it's blank */
line_num++;
/* Count the line length while checking wheather it's blank */