diff --git a/source/dub/installation.d b/source/dub/installation.d index a1d0ca8..b3a8d1c 100644 --- a/source/dub/installation.d +++ b/source/dub/installation.d Binary files differ diff --git a/source/dub/internal/vibecompat/core/file.d b/source/dub/internal/vibecompat/core/file.d index 0444b14..a8b599a 100644 --- a/source/dub/internal/vibecompat/core/file.d +++ b/source/dub/internal/vibecompat/core/file.d @@ -90,7 +90,7 @@ enum pattern ="/tmp/vtmp.XXXXXX"; scope templ = new char[pattern.length+suffix.length+1]; templ[0 .. pattern.length] = pattern; - templ[pattern.length .. $-1] = suffix; + templ[pattern.length .. $-1] = suffix[]; templ[$-1] = '\0'; assert(suffix.length <= int.max); auto fd = mkstemps(templ.ptr, cast(int)suffix.length);