Commit 6d869638 authored by Jonas Smedegaard's avatar Jonas Smedegaard

New upstream version 3.1.1

parent a6982ce8
3.1.1:
-----
-n <nbytes_to_stream> was not clear to use numbers > 2 GB. I didn't
notice since it worked fine if you used suffixes "K/M/G" as long as
the number was < 2 G. Sorry about that.
3.1.0:
------
O_DIRECT supported for input.
3.0.0:
------
......@@ -12,7 +24,7 @@ too. They shouldn't break anything but non-IPV6 things were touched.
Aftermath for 2.7.4 - 2.7.6:
--------------------
----------------------------
ATTENTION:
I'm afraid that support for the '-B <size_of_buffer>' was clobbered in
......@@ -21,7 +33,7 @@ multiple reads before the writer could write or vice versa.
Change reverted in 2.7.6.
2.7.4 and 2.75 do not have working -B.
2.7.4 and 2.7.5 do not have working -B.
2.8.0:
------
......
......@@ -634,7 +634,7 @@ distcheck: dist
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
chmod -R a-w $(distdir); chmod u+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
......
......@@ -13,8 +13,8 @@
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
[m4_warning([this file was generated for autoconf 2.65.
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
[m4_warning([this file was generated for autoconf 2.67.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
......
......@@ -143,9 +143,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu auxdir/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign auxdir/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu auxdir/Makefile
$(AUTOMAKE) --foreign auxdir/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......
This diff is collapsed.
......@@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT(cstream.c)
AC_CONFIG_AUX_DIR(auxdir)
AM_INIT_AUTOMAKE(cstream, 3.0.0)
AM_INIT_AUTOMAKE(cstream, 3.1.1)
dnl Checks for programs.
AC_PROG_AWK
......
......@@ -815,8 +815,22 @@ init(struct options *const o, struct progstate *const state
else {
if (strchr(o->i, ':') && !strchr(o->I, 'N'))
state->ifd = open_tcp(o, O_RDONLY);
else
state->ifd = open(o->i, O_RDONLY);
else {
int flags = O_RDONLY;
if (strchr(o->I, 'D')) {
#ifdef HAVE_O_DIRECT
flags |= O_DIRECT;
if (o->v > 1) {
fprintf(stderr, "Using O_DIRECT on input file with blocksize %d\n"
, state->b);
}
#else
fprintf(stderr, "O_DIRECT requested for input but not compiled in\n");
exit(1);
#endif
}
state->ifd = open(o->i, flags);
}
}
if (state->ifd == -1) {
fprintf(stderr, "Cannot open input file/tcpspec '%s': ", o->i);
......@@ -1664,7 +1678,7 @@ atoi_kmg(const char *const s)
long long res;
char c;
res = atoi(s);
res = atoll(s);
if (s[0] != '\0') {
c = tolower(s[strlen(s)-1]);
switch (c) {
......
......@@ -143,9 +143,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --gnu tests/Makefile
$(AUTOMAKE) --foreign tests/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment