Re: Missing NUL terminator when using "-MT " option

2021-11-28 Thread Iain Buclaw via D.gnu
On Sunday, 28 November 2021 at 13:58:49 UTC, Sebastien Alaiwan wrote: Hi, It seems that the output target name gets corrupted (see the extra chars at the end of 'MyTargetName'): *$ cat test.d* // empty file *$ gdc -Isrc -MM "test.d" -MT "MyTargetName" -MF "test.deps"* *$ c

Missing NUL terminator when using "-MT " option

2021-11-28 Thread Sebastien Alaiwan via D.gnu
Hi, It seems that the output target name gets corrupted (see the extra chars at the end of 'MyTargetName'): *$ cat test.d* // empty file *$ gdc -Isrc -MM "test.d" -MT "MyTargetName" -MF "test.deps"* *$ cat test.deps* MyTargetName�: test.d *$ gdc --version* gdc (Debian 11