projects
/
ftsbench.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some cleanups
[ftsbench.git]
/
stopfilter.c
diff --git
a/stopfilter.c
b/stopfilter.c
index
12e452c
..
ced7c29
100644
(file)
--- a/
stopfilter.c
+++ b/
stopfilter.c
@@
-79,7
+79,7
@@
readstoplist(char *filename, StopList * s)
tmp = (char **) realloc((void *) stop, sizeof(char *) * reallen);
if (!tmp)
{
tmp = (char **) realloc((void *) stop, sizeof(char *) * reallen);
if (!tmp)
{
- fprintf(stderr,"Not enough memory");
+ fprintf(stderr,"Not enough memory
\n
");
exit(1);
}
stop = tmp;
exit(1);
}
stop = tmp;
@@
-88,7
+88,7
@@
readstoplist(char *filename, StopList * s)
stop[s->len] = strdup(buf);
if (!stop[s->len])
{
stop[s->len] = strdup(buf);
if (!stop[s->len])
{
- fprintf(stderr,"Not enough memory");
+ fprintf(stderr,"Not enough memory
\n
");
exit(1);
}
exit(1);
}