"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dmd/lib.d" between
dmd-2.095.0.tar.gz and dmd-2.095.1.tar.gz

About: DMD (Digital Mars D) is the D reference compiler. D is an object-oriented, imperative, multi-paradigm system programming language.

lib.d  (dmd-2.095.0):lib.d  (dmd-2.095.1)
skipping to change at line 98 skipping to change at line 98
const(char)[] n = global.params.objfiles[0].toDString; const(char)[] n = global.params.objfiles[0].toDString;
n = FileName.name(n); n = FileName.name(n);
arg = FileName.forceExt(n, global.lib_ext); arg = FileName.forceExt(n, global.lib_ext);
} }
if (!FileName.absolute(arg)) if (!FileName.absolute(arg))
arg = FileName.combine(dir, arg); arg = FileName.combine(dir, arg);
loc = Loc(FileName.defaultExt(arg, global.lib_ext).ptr, 0, 0); loc = Loc(FileName.defaultExt(arg, global.lib_ext).ptr, 0, 0);
} }
final const(char)* getFilename() const
{
return loc.filename;
}
final void write() final void write()
{ {
if (global.params.verbose) if (global.params.verbose)
message("library %s", loc.filename); message("library %s", loc.filename);
OutBuffer libbuf; OutBuffer libbuf;
WriteLibToBuffer(&libbuf); WriteLibToBuffer(&libbuf);
writeFile(Loc.initial, loc.filename.toDString, libbuf[]); writeFile(Loc.initial, loc.filename.toDString, libbuf[]);
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)