summaryrefslogtreecommitdiff
path: root/lib/d
diff options
context:
space:
mode:
authorJames E. King, III <jking@apache.org>2017-09-01 13:00:36 -0700
committerJames E. King, III <jking@apache.org>2017-09-04 18:09:34 -0700
commitd7142b7e4fe114c13d8235a7c47f58947f916bff (patch)
treed1f6ce9e74787245d69c205238211739974b0b24 /lib/d
parentf454369198500a90388a4a6f73970e961949c186 (diff)
downloadthrift-d7142b7e4fe114c13d8235a7c47f58947f916bff.tar.gz
THRIFT-4295: rework the docker build images, updating them and tuning the travis builds
This closes #1340
Diffstat (limited to 'lib/d')
-rw-r--r--lib/d/Makefile.am2
-rw-r--r--lib/d/src/thrift/transport/http.d2
-rw-r--r--lib/d/src/thrift/transport/socket.d4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/d/Makefile.am b/lib/d/Makefile.am
index 5c529bae3..2a8121856 100644
--- a/lib/d/Makefile.am
+++ b/lib/d/Makefile.am
@@ -177,7 +177,7 @@ unittest/.directory:
touch $@
unittest/debug/%: src/%.d $(all_targets) unittest/emptymain.d
- $(DMD) -gc -of$(subst /,$(DMD_OF_DIRSEP),$@) $(d_test_flags) $^
+ $(DMD) -g -of$(subst /,$(DMD_OF_DIRSEP),$@) $(d_test_flags) $^
unittest/release/%: src/%.d $(all_targets) unittest/emptymain.d
$(DMD) -O -release -of$(subst /,$(DMD_OF_DIRSEP),$@) $(d_test_flags) $^
diff --git a/lib/d/src/thrift/transport/http.d b/lib/d/src/thrift/transport/http.d
index c7d1f5094..0e58deeb6 100644
--- a/lib/d/src/thrift/transport/http.d
+++ b/lib/d/src/thrift/transport/http.d
@@ -330,7 +330,7 @@ protected:
"Host: " ~ host_ ~ "\r\n" ~
"Content-Type: application/x-thrift\r\n" ~
"Content-Length: " ~ to!string(dataLength) ~ "\r\n" ~
- "Accept: application/x-thrift\r\n"
+ "Accept: application/x-thrift\r\n" ~
"User-Agent: Thrift/" ~ VERSION ~ " (D/TClientHttpTransport)\r\n" ~
"\r\n";
}
diff --git a/lib/d/src/thrift/transport/socket.d b/lib/d/src/thrift/transport/socket.d
index 38b567a07..228abf004 100644
--- a/lib/d/src/thrift/transport/socket.d
+++ b/lib/d/src/thrift/transport/socket.d
@@ -79,8 +79,8 @@ abstract class TSocketBase : TBaseTransport {
version (none) assert(written <= buf.length, text("Implementation wrote " ~
"more data than requested to?! (", written, " vs. ", buf.length, ")"));
} body {
- assert(0, "DMD bug? – Why would contracts work for interfaces, but not "
- "for abstract methods? "
+ assert(0, "DMD bug? – Why would contracts work for interfaces, but not " ~
+ "for abstract methods? " ~
"(Error: function […] in and out contracts require function body");
}