mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fix output files being .d.bc. They're now .bc again.
This commit is contained in:
@@ -145,10 +145,9 @@ File* Module::buildFilePath(char* forcename, char* path, char* ext)
|
||||
argobj = FileName::replaceName(argobj, toChars());
|
||||
|
||||
int clen = strlen(argobj);
|
||||
char* tmp = (char *)alloca(clen + 2);
|
||||
char* tmp = (char *)alloca(clen + 1);
|
||||
memcpy(tmp, argobj, clen);
|
||||
tmp[clen] = '.';
|
||||
tmp[clen+1] = 0;
|
||||
tmp[clen] = 0;
|
||||
argobj = tmp;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user